_0x46DB71883EE9D5AF
Returns databindingEntryId to be used with 0x951847CEF3D829FF (p0)
Hash
0x46DB71883EE9D5AFRuntime name
N_0x46db71883ee9d5afNamespaceINVENTORY
SideClient
NameHash only
Docs
Since build1207
Signature
Hash _0x46DB71883EE9D5AF(Any data, const char* stats, Any* guid, Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
data | Any | — |
stats | const char* | — |
guid | Any* | — |
ped | Ped | — |
Returns Hash
Description
Returns databindingEntryId to be used with 0x951847CEF3D829FF (p0)
Usage
local retval, guid = N_0x46db71883ee9d5af(data, stats, ped)
-- always works, by hash
local retval, guid = Citizen.InvokeNative(0x46DB71883EE9D5AF, data, stats, Citizen.PointerValueInt(), ped, Citizen.ResultAsInteger())JavaScript and C#
const [retval, guid] = N_0x46db71883ee9d5af(data, stats, ped);
// by hash
const [retval, guid] = Citizen.invokeNative('0x46DB71883EE9D5AF', data, stats, Citizen.pointerValueInt(), ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());var guid = new OutputArgument();
int retval = Function.Call<int>((Hash)0x46DB71883EE9D5AF, data, stats, guid, ped);
// guid.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_0x46db71883ee9d5af(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.