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

Player::setRagdollOnCollision

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

Causes Ped to ragdoll on collision with any object (e.g Running into trashcan). If applied to player you will sometimes trip on the sidewalk.

Syntax

<syntaxhighlight lang="javascript">player.setRagdollOnCollision(toggle);</syntaxhighlight>

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

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

See also