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

Player::setRagdollFlag

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

Works for both player and peds, but some flags don't seem to work for the player (1, for example)

1 - Blocks ragdolling when shot.
2 - Blocks ragdolling when hit by a vehicle. The ped still might play a falling animation.
4 - Blocks ragdolling when set on fire.

-----------------------------------------------------------------------

There seem to be 26 flags

Syntax

<syntaxhighlight lang="javascript">player.setRagdollFlag(flag);</syntaxhighlight>

Required Arguments

  • flag: int

Return value

  • Undefined

Example

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

See also