RedM Natives

_0x383F64263F946E45

Used when checking if ped is in water

Hash0x383F64263F946E45
Runtime nameN_0x383f64263f946e45
NamespaceENTITY
SideClient
NameHash only
Docs
Since build1207

Signature

BOOL _0x383F64263F946E45(int* p0, Entity entity, int p2, Ped ped, Any p4, int p5);

Parameters

NameTypeDescription
p0int*—
entityEntity—
p2int—
pedPed—
p4Any—
p5int—

Returns BOOL

Description

Used when checking if ped is in water

Usage

Lua
local retval, p0 = N_0x383f64263f946e45(entity, p2, ped, p4, p5)

-- always works, by hash
local retval, p0 = Citizen.InvokeNative(0x383F64263F946E45, Citizen.PointerValueInt(), entity, p2, ped, p4, p5, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, p0] = N_0x383f64263f946e45(entity, p2, ped, p4, p5);

// by hash
const [retval, p0] = Citizen.invokeNative('0x383F64263F946E45', Citizen.pointerValueInt(), entity, p2, ped, p4, p5, Citizen.returnResultAnyway());
C#
var p0 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x383F64263F946E45, p0, entity, p2, ped, p4, p5);
// p0.GetResult<int>()
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
  • This native has no known name, so the runtime exposes it only as N_0x383f64263f946e45 (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.