SET_PED_CAN_BE_INCAPACITATED
When set on a player ped, its just like when you die in RDO
Hash
0x5240864E847C691CRuntime name
SetPedCanBeIncapacitatedNamespacePED
SideClient
NameOfficial
Docs
Since build1207
Signature
void SET_PED_CAN_BE_INCAPACITATED(Ped ped, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
toggle | BOOL | — |
Returns void
Description
When set on a player ped, its just like when you die in RDO
Usage
SetPedCanBeIncapacitated(ped, toggle)
-- always works, by hash
Citizen.InvokeNative(0x5240864E847C691C, ped, toggle)JavaScript and C#
SetPedCanBeIncapacitated(ped, toggle);
// by hash
Citizen.invokeNative('0x5240864E847C691C', ped, toggle);Function.Call((Hash)0x5240864E847C691C, ped, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.