_0x46DB71883EE9D5AF
This INVENTORY native has no community name yet, so it is known by its hash 0x46DB71883EE9D5AF. It takes 4 parameters (data as Any, stats as const char*, guid as Any*, ped as Ped) and returns a Hash.
Signature
Hash _0x46DB71883EE9D5AF(Any data, const char* stats, Any* guid, Ped ped); // 0x46DB71883EE9D5AF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | data | Any |
| 2 | stats | const char* |
| 3 | guid | Any* (out pointer) |
| 4 | ped | Ped |
Facts
| Name | _0x46DB71883EE9D5AF |
|---|---|
| Hash | 0x46DB71883EE9D5AF |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash, guid = Citizen.InvokeNative(0x46DB71883EE9D5AF, -- _0x46DB71883EE9D5AF
0, -- Any data
"text", -- const char* stats
Citizen.PointerValueInt(), -- Any* guid
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(hash, guid)const [hash, guid] = Citizen.invokeNative("0x46DB71883EE9D5AF", // _0x46DB71883EE9D5AF
0, // Any data
"text", // const char* stats
Citizen.pointerValueInt(), // Any* guid
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(hash, guid)var guidArg = new OutputArgument();
int hash = Function.Call<int>((Hash)0x46DB71883EE9D5AF, // _0x46DB71883EE9D5AF
0, // Any data
"text", // const char* stats
guidArg, // Any* guid
API.PlayerPedId() // Ped ped
);
int guid = guidArg.GetResult<int>();Related INVENTORY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.