SET_PED_INJURED_ON_GROUND_BEHAVIOUR
Hash
0xEC4B4B3B9908052ARuntime name
SetPedInjuredOnGroundBehaviourNamespacePED
SideClient
NameOfficial
Docs
Since build1311
GTA V hash
0xEC4B4B3B9908052ASignature
void SET_PED_INJURED_ON_GROUND_BEHAVIOUR(Ped ped, float unk);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
unk | float | — |
Returns void
Usage
SetPedInjuredOnGroundBehaviour(ped, unk)
-- always works, by hash
Citizen.InvokeNative(0xEC4B4B3B9908052A, ped, unk)JavaScript and C#
SetPedInjuredOnGroundBehaviour(ped, unk);
// by hash
Citizen.invokeNative('0xEC4B4B3B9908052A', ped, unk + 0.0000001);Function.Call((Hash)0xEC4B4B3B9908052A, ped, unk);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.