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

Player::setFleeAttributes

Материал из RAGE MP Wiki Archive
Версия от 23:44, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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