The Lab
COLLECTABLE native

_COLLECTABLE_GET_IPL

returns Hash1 parambuild 1207

Returns the IPL hash associated with the given collectable item.

Signature

C
Hash _COLLECTABLE_GET_IPL(Hash collectableItem); // 0x922A79CD4A033B8B b1207

Parameters

#NameType
1collectableItemHash

Facts

Facts about _COLLECTABLE_GET_IPL
Name
_COLLECTABLE_GET_IPL
Hash
0x922A79CD4A033B8B
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 = Citizen.InvokeNative(0x922A79CD4A033B8B, -- _COLLECTABLE_GET_IPL
  GetHashKey("name"), -- Hash collectableItem
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0x922A79CD4A033B8B", // _COLLECTABLE_GET_IPL
  GetHashKey("name"), // Hash collectableItem
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0x922A79CD4A033B8B, // _COLLECTABLE_GET_IPL
  (uint)API.GetHashKey("name") // Hash collectableItem
);
All COLLECTABLE natives

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