RedM Natives

_0x101B45C5F56D970F

Hash0x101B45C5F56D970F
Runtime nameN_0x101b45c5f56d970f
NamespacePED
SideClient
NameHash only
Docs
Since build1207

Signature

BOOL _0x101B45C5F56D970F(Any* p0, Ped ped, int damageCleanliness, int p3);

Parameters

NameTypeDescription
p0Any*—
pedPed—
damageCleanlinessint—
p3int—

Returns BOOL

Usage

Lua
local retval, p0 = N_0x101b45c5f56d970f(ped, damageCleanliness, p3)

-- always works, by hash
local retval, p0 = Citizen.InvokeNative(0x101B45C5F56D970F, Citizen.PointerValueInt(), ped, damageCleanliness, p3, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, p0] = N_0x101b45c5f56d970f(ped, damageCleanliness, p3);

// by hash
const [retval, p0] = Citizen.invokeNative('0x101B45C5F56D970F', Citizen.pointerValueInt(), ped, damageCleanliness, p3, Citizen.returnResultAnyway());
C#
var p0 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x101B45C5F56D970F, p0, ped, damageCleanliness, p3);
// p0.GetResult<int>()
  • 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_0x101b45c5f56d970f (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.