RedM Natives

_0x5E9FAF6C513347B4

Only used in R* SP Scripts _GET_PED_IN*

Hash0x5E9FAF6C513347B4
Runtime nameN_0x5e9faf6c513347b4
NamespacePED
SideClient
NameHash only
Docs
Since build1207

Signature

Entity _0x5E9FAF6C513347B4(Ped ped, Hash eventType);

Parameters

NameTypeDescription
pedPed—
eventTypeHash—

Returns Entity

Description

Only used in R* SP Scripts
_GET_PED_IN*

Usage

Lua
local retval = N_0x5e9faf6c513347b4(ped, eventType)

-- always works, by hash
local retval = Citizen.InvokeNative(0x5E9FAF6C513347B4, ped, eventType, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = N_0x5e9faf6c513347b4(ped, eventType);

// by hash
const retval = Citizen.invokeNative('0x5E9FAF6C513347B4', ped, eventType, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x5E9FAF6C513347B4, ped, eventType);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • This native has no known name, so the runtime exposes it only as N_0x5e9faf6c513347b4 (if present in the client snapshot). InvokeNative with the hash always works.

Enums and flags

Sources

alloc8or RDR3 NativeDB

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