RedM Natives

WEEKLY_COLLECTIBLE_GET_ITEM_SET_LABEL

Hash0xBFFA88522FF0F730
Runtime nameWeeklyCollectibleGetItemSetLabel
NamespaceSTATS
SideClient
NameOfficial
Docs
Since build1207

Signature

Hash WEEKLY_COLLECTIBLE_GET_ITEM_SET_LABEL(Hash chalHash, int index);

Parameters

NameTypeDescription
chalHashHash—
indexint—

Returns Hash

Usage

Lua
local retval = WeeklyCollectibleGetItemSetLabel(chalHash, index)

-- always works, by hash
local retval = Citizen.InvokeNative(0xBFFA88522FF0F730, chalHash, index, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = WeeklyCollectibleGetItemSetLabel(chalHash, index);

// by hash
const retval = Citizen.invokeNative('0xBFFA88522FF0F730', chalHash, index, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xBFFA88522FF0F730, chalHash, index);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.