SetPedCanRagdoll

From GT-MP
Jump to: navigation, search
SetPedCanRagdoll
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript


See also: GetPedCanRagdoll, SetPedToRagdoll, CancelPedRagdoll, isPlayerRagdoll

Enables or disables Ragdoll for the local player.

Syntax

API.setPedCanRagdoll(bool canRagdoll);

Required Arguments

  • canRagdoll: parameter input should be in bool type.

Usage example(s)

API.setPedCanRagdoll(bool canRagdoll);


References