RedM Natives

SET_PED_INJURED_ON_GROUND_BEHAVIOUR

Hash0xEC4B4B3B9908052A
Runtime nameSetPedInjuredOnGroundBehaviour
NamespacePED
SideClient
NameOfficial
Docs
Since build1311
GTA V hash0xEC4B4B3B9908052A

Signature

void SET_PED_INJURED_ON_GROUND_BEHAVIOUR(Ped ped, float unk);

Parameters

NameTypeDescription
pedPed—
unkfloat—

Returns void

Usage

Lua
SetPedInjuredOnGroundBehaviour(ped, unk)

-- always works, by hash
Citizen.InvokeNative(0xEC4B4B3B9908052A, ped, unk)
JavaScript and C#
JavaScript
SetPedInjuredOnGroundBehaviour(ped, unk);

// by hash
Citizen.invokeNative('0xEC4B4B3B9908052A', ped, unk + 0.0000001);
C#
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. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.