The Lab
COLLECTABLE native

_0xD297F68928A58130

returns Any2 paramsbuild 1232

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

Signature

C
Any _0xD297F68928A58130(Hash collectableCategory, int p1); // 0xD297F68928A58130 b1232

Parameters

#NameType
1collectableCategoryHash
2p1int

Facts

Facts about _0xD297F68928A58130
Name
_0xD297F68928A58130
Hash
0xD297F68928A58130
Namespace
Returns
Any
Game build
1232

Examples

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

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

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