RedM Natives

_0xAFE2AE66F6251C66

Hash0xAFE2AE66F6251C66
Runtime nameN_0xafe2ae66f6251c66
NamespacePATH
SideClient
NameHash only
Docs
Since build1207

Signature

void _0xAFE2AE66F6251C66(float xMin, float yMin, float zMin, float xMax, float yMax, float zMax, int p6, Any p7);

Parameters

NameTypeDescription
xMinfloat—
yMinfloat—
zMinfloat—
xMaxfloat—
yMaxfloat—
zMaxfloat—
p6int—
p7Any—

Returns void

Usage

Lua
N_0xafe2ae66f6251c66(xMin, yMin, zMin, xMax, yMax, zMax, p6, p7)

-- always works, by hash
Citizen.InvokeNative(0xAFE2AE66F6251C66, xMin, yMin, zMin, xMax, yMax, zMax, p6, p7)
JavaScript and C#
JavaScript
N_0xafe2ae66f6251c66(xMin, yMin, zMin, xMax, yMax, zMax, p6, p7);

// by hash
Citizen.invokeNative('0xAFE2AE66F6251C66', xMin + 0.0000001, yMin + 0.0000001, zMin + 0.0000001, xMax + 0.0000001, yMax + 0.0000001, zMax + 0.0000001, p6, p7);
C#
Function.Call((Hash)0xAFE2AE66F6251C66, xMin, yMin, zMin, xMax, yMax, zMax, p6, p7);
  • 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_0xafe2ae66f6251c66 (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.