_0x383F64263F946E45
Used when checking if ped is in water
Hash
0x383F64263F946E45Runtime name
N_0x383f64263f946e45NamespaceENTITY
SideClient
NameHash only
Docs
Since build1207
Signature
BOOL _0x383F64263F946E45(int* p0, Entity entity, int p2, Ped ped, Any p4, int p5);Parameters
| Name | Type | Description |
|---|---|---|
p0 | int* | — |
entity | Entity | — |
p2 | int | — |
ped | Ped | — |
p4 | Any | — |
p5 | int | — |
Returns BOOL
Description
Used when checking if ped is in water
Usage
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#
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());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).InvokeNativewith the hash always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.