The Lab
COLLECTABLE native

COLLECTABLE_GET_CATEGORY_ITEM_SET_BUY_AWARD

returns Hash2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Returns a hash related to the purchase award of a collectable category item set.

Signature

C
Hash COLLECTABLE_GET_CATEGORY_ITEM_SET_BUY_AWARD(Hash collectableCategory, Hash p1); // 0xCC644BC1DD655269 b1207

Parameters

#NameType
1collectableCategoryHash
2p1Hash

Facts

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

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