The Lab
STATS native

WEEKLY_COLLECTIBLE_GET_ITEM_SET_BUY_AWARD

returns Hash2 paramsbuild 1207

Returns the award hash granted for completing set index of the weekly collectible challenge chalHash.

Signature

C
Hash WEEKLY_COLLECTIBLE_GET_ITEM_SET_BUY_AWARD(Hash chalHash, int index); // 0x610783F646894D25 b1207

Parameters

#NameType
1chalHashHash
2indexint

Facts

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

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