Перейти к содержанию

Player::setFleeAttributes

Материал из RAGE MP Wiki Archive

Bool probably has something to do with vehicles, maybe if the ped can use vehicle to flee?

Values used as attributes are those in sequence of powers of two, 1, 2, 4, 8, 16, 32, 64.... 65536.

Syntax

<syntaxhighlight lang="javascript">player.setFleeAttributes(attributes, p2);</syntaxhighlight>

Required Arguments

  • attributes: int
  • p2: Boolean

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also