RedM Natives

_0x9851DE7AEC10B4E1

Hash0x9851DE7AEC10B4E1
Runtime nameN_0x9851de7aec10b4e1
NamespacePED
SideClient
NameHash only
Docs
Since build1207

Signature

void _0x9851DE7AEC10B4E1(float x, float y, float z, float p3, int p4, Any p5);

Parameters

NameTypeDescription
xfloat—
yfloat—
zfloat—
p3float—
p4int—
p5Any—

Returns void

Usage

Lua
N_0x9851de7aec10b4e1(x, y, z, p3, p4, p5)

-- always works, by hash
Citizen.InvokeNative(0x9851DE7AEC10B4E1, x, y, z, p3, p4, p5)
JavaScript and C#
JavaScript
N_0x9851de7aec10b4e1(x, y, z, p3, p4, p5);

// by hash
Citizen.invokeNative('0x9851DE7AEC10B4E1', x + 0.0000001, y + 0.0000001, z + 0.0000001, p3 + 0.0000001, p4, p5);
C#
Function.Call((Hash)0x9851DE7AEC10B4E1, x, y, z, p3, p4, p5);
  • 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_0x9851de7aec10b4e1 (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.