SET_PED_CAN_RAGDOLL
SET_PED_CAN_RAGDOLL This is the server-side RPC native equivalent of the client native SET_PED_CAN_RAGDOLL.
Signature
void SET_PED_CAN_RAGDOLL(Ped ped, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
toggle | BOOL | — |
Returns void
Description
This is the server-side RPC native equivalent of the client native SET_PED_CAN_RAGDOLL.
Usage
SetPedCanRagdoll(ped, toggle)
-- always works, by hash
Citizen.InvokeNative(0xcf1384c4, ped, toggle)JavaScript and C#
SetPedCanRagdoll(ped, toggle);
// by hash
Citizen.invokeNative('0xcf1384c4', ped, toggle);Function.Call((Hash)0xcf1384c4, ped, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.