WEEKLY_COLLECTIBLE_GET_NUM_SETS
Hash
0x8F5317729F791D10Runtime name
WeeklyCollectibleGetNumSetsNamespaceSTATS
SideClient
NameOfficial
Docs
Since build1207
Signature
int WEEKLY_COLLECTIBLE_GET_NUM_SETS(Hash chalHash);Parameters
| Name | Type | Description |
|---|---|---|
chalHash | Hash | — |
Returns int
Usage
local retval = WeeklyCollectibleGetNumSets(chalHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0x8F5317729F791D10, chalHash, Citizen.ResultAsInteger())JavaScript and C#
const retval = WeeklyCollectibleGetNumSets(chalHash);
// by hash
const retval = Citizen.invokeNative('0x8F5317729F791D10', chalHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x8F5317729F791D10, chalHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.