The Lab
INVENTORY native

_0x46DB71883EE9D5AF

returns Hash4 paramsbuild 1207

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

C
Hash _0x46DB71883EE9D5AF(Any data, const char* stats, Any* guid, Ped ped); // 0x46DB71883EE9D5AF b1207

Parameters

#NameType
1dataAny
2statsconst char*
3guidAny* (out pointer)
4pedPed

Facts

Facts about _0x46DB71883EE9D5AF
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.

Lua
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)
JavaScript
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)
C#
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>();
All INVENTORY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.