_0x6BED40493A1AFDB8
Hash
0x6BED40493A1AFDB8Runtime name
N_0x6bed40493a1afdb8NamespaceMISC
SideClient
NameHash only
Docs
Since build1207
Signature
void _0x6BED40493A1AFDB8(Any* p0, float p1);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Any* | — |
p1 | float | — |
Returns void
Usage
local p0 = N_0x6bed40493a1afdb8(p1)
-- always works, by hash
local p0 = Citizen.InvokeNative(0x6BED40493A1AFDB8, Citizen.PointerValueInt(), p1)JavaScript and C#
const p0 = N_0x6bed40493a1afdb8(p1);
// by hash
const p0 = Citizen.invokeNative('0x6BED40493A1AFDB8', Citizen.pointerValueInt(), p1 + 0.0000001);var p0 = new OutputArgument();
Function.Call((Hash)0x6BED40493A1AFDB8, p0, p1);
// p0.GetResult<int>()- 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. - 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_0x6bed40493a1afdb8(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.