The Lab
COLLECTABLE native

_0xB9020EC89C07DF04

returns Any3 paramsbuild 1207

This COLLECTABLE native has no community name yet, so it is known by its hash 0xB9020EC89C07DF04. It takes 3 parameters (collectableCategory as Hash, p1 as int, index as int) and returns an Any.

Signature

C
Any _0xB9020EC89C07DF04(Hash collectableCategory, int p1, int index); // 0xB9020EC89C07DF04 b1207

Parameters

#NameType
1collectableCategoryHash
2p1int
3indexint

Facts

Facts about _0xB9020EC89C07DF04
Name
_0xB9020EC89C07DF04
Hash
0xB9020EC89C07DF04
Namespace
Returns
Any
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xB9020EC89C07DF04, -- _0xB9020EC89C07DF04
  GetHashKey("name"), -- Hash collectableCategory
  0, -- int p1
  0, -- int index
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xB9020EC89C07DF04", // _0xB9020EC89C07DF04
  GetHashKey("name"), // Hash collectableCategory
  0, // int p1
  0, // int index
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xB9020EC89C07DF04, // _0xB9020EC89C07DF04
  (uint)API.GetHashKey("name"), // Hash collectableCategory
  0, // int p1
  0 // int index
);
All COLLECTABLE natives

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