SET_PED_RAGDOLL_ON_COLLISION
Causes Ped to ragdoll on collision with any object (e.g Running into trashcan).
Hash
0xF0A4F1BBF4FA7497Runtime name
SetPedRagdollOnCollisionNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xF0A4F1BBF4FA7497Signature
void SET_PED_RAGDOLL_ON_COLLISION(Ped ped, BOOL toggle, BOOL p2);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
toggle | BOOL | — |
p2 | BOOL | — |
Returns void
Description
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.
Usage
SetPedRagdollOnCollision(ped, toggle, p2)
-- always works, by hash
Citizen.InvokeNative(0xF0A4F1BBF4FA7497, ped, toggle, p2)JavaScript and C#
SetPedRagdollOnCollision(ped, toggle, p2);
// by hash
Citizen.invokeNative('0xF0A4F1BBF4FA7497', ped, toggle, p2);Function.Call((Hash)0xF0A4F1BBF4FA7497, ped, toggle, p2);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.