RedM Natives

_0x8AF8E647D6B2A649

Returns offset (0 < 32) to be used with MISC::SET_BIT _GET_PED_CR*

Hash0x8AF8E647D6B2A649
Runtime nameN_0x8af8e647d6b2a649
NamespacePED
SideClient
NameHash only
Docs
Since build1207

Signature

int _0x8AF8E647D6B2A649(int groupId, Ped ped);

Parameters

NameTypeDescription
groupIdint—
pedPed—

Returns int

Description

Returns offset (0 < 32) to be used with MISC::SET_BIT
_GET_PED_CR*

Usage

Lua
local retval = N_0x8af8e647d6b2a649(groupId, ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x8AF8E647D6B2A649, groupId, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = N_0x8af8e647d6b2a649(groupId, ped);

// by hash
const retval = Citizen.invokeNative('0x8AF8E647D6B2A649', groupId, ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x8AF8E647D6B2A649, groupId, ped);
  • This native has no known name, so the runtime exposes it only as N_0x8af8e647d6b2a649 (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.