RedM Natives

_0xCF0B19806473D324

_SET_PED_COMBAT_*

Hash0xCF0B19806473D324
Runtime nameN_0xcf0b19806473d324
NamespacePED
SideClient
NameHash only
Docs
Since build1207

Signature

void _0xCF0B19806473D324(Ped ped, float x, float y, float z);

Parameters

NameTypeDescription
pedPed—
xfloat—
yfloat—
zfloat—

Returns void

Description

_SET_PED_COMBAT_*

Usage

Lua
N_0xcf0b19806473d324(ped, x, y, z)

-- always works, by hash
Citizen.InvokeNative(0xCF0B19806473D324, ped, x, y, z)
JavaScript and C#
JavaScript
N_0xcf0b19806473d324(ped, x, y, z);

// by hash
Citizen.invokeNative('0xCF0B19806473D324', ped, x + 0.0000001, y + 0.0000001, z + 0.0000001);
C#
Function.Call((Hash)0xCF0B19806473D324, ped, x, y, z);
  • 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.
  • This native has no known name, so the runtime exposes it only as N_0xcf0b19806473d324 (if present in the client snapshot). InvokeNative with the hash always works.

Sources

alloc8or RDR3 NativeDB

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