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​

```js player.setRagdollOnCollision(toggle); ```

Required Arguments​

  • toggle: Boolean

Return value​

  • Undefined

Example​

```js // todo ```

See also​