setPedCanRagdoll
SET_PED_CAN_RAGDOLL0xB128377056A54E2AThe GTA V native SET_PED_CAN_RAGDOLL of the PED namespace, as LS:MP client scripts call it: the global function setPedCanRagdoll, in JavaScript and in Lua.
setPedCanRagdoll(ped: Ped, toggle: boolean): voidsetPedCanRagdoll(ped: Ped, toggle: boolean)Usage
JavaScript
setPedCanRagdoll(ped, toggle);Lua
setPedCanRagdoll(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_CAN_RAGDOLL(Ped ped, BOOL toggle)- Hash
0xB128377056A54E2A