Skip to main content

Player::setRagdollOnCollision

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​

player.setRagdollOnCollision(toggle);

Required Arguments​

  • toggle: Boolean

Return value​

  • Undefined

Example​

// todo