Player::setRagdollFlag

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

player.setRagdollFlag(flag);

Required Arguments

  • flag: int

Return value

  • Undefined

Example

// todo

See also