RedM Natives

_0x880A7202301E282B

Hash0x880A7202301E282B
Runtime nameN_0x880a7202301e282b
NamespaceNETWORK
SideClient
NameHash only
Docs
Since build1311

Signature

BOOL _0x880A7202301E282B(Any* p0, Any* p1, float x, float y, float z, float p5, Any p6);

Parameters

NameTypeDescription
p0Any*—
p1Any*—
xfloat—
yfloat—
zfloat—
p5float—
p6Any—

Returns BOOL

Description

Params: p5 = 50.f, p6 = 0 in R* Script net_fetch (NET_FETCH_CLIENT_UPDATE_PED_ROLE_CLUE_IDLE)

Usage

Lua
local retval, p0, p1 = N_0x880a7202301e282b(x, y, z, p5, p6)

-- always works, by hash
local retval, p0, p1 = Citizen.InvokeNative(0x880A7202301E282B, Citizen.PointerValueInt(), Citizen.PointerValueInt(), x, y, z, p5, p6, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, p0, p1] = N_0x880a7202301e282b(x, y, z, p5, p6);

// by hash
const [retval, p0, p1] = Citizen.invokeNative('0x880A7202301E282B', Citizen.pointerValueInt(), Citizen.pointerValueInt(), x + 0.0000001, y + 0.0000001, z + 0.0000001, p5 + 0.0000001, p6, Citizen.returnResultAnyway());
C#
var p0 = new OutputArgument();
var p1 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x880A7202301E282B, p0, p1, x, y, z, p5, p6);
// p0.GetResult<int>()
// p1.GetResult<int>()
  • 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.
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.
  • This native has no known name, so the runtime exposes it only as N_0x880a7202301e282b (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.