_0xD355E2F1BB41087E
Hash
0xD355E2F1BB41087ERuntime name
N_0xd355e2f1bb41087eNamespacePED
SideClient
NameHash only
Docs
Since build1207
Signature
BOOL _0xD355E2F1BB41087E(Ped ped, float p1);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | float | — |
Returns BOOL
Usage
local retval = N_0xd355e2f1bb41087e(ped, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0xD355E2F1BB41087E, ped, p1, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = N_0xd355e2f1bb41087e(ped, p1);
// by hash
const retval = Citizen.invokeNative('0xD355E2F1BB41087E', ped, p1 + 0.0000001, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xD355E2F1BB41087E, ped, p1);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason. - This native has no known name, so the runtime exposes it only as
N_0xd355e2f1bb41087e(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.