COMPENDIUM_GET_SUBCATEGORY_TOAST_APP_ID
Hash
0x2BF30D9D4D680112Runtime name
CompendiumGetSubcategoryToastAppIdNamespaceCOMPENDIUM
SideClient
NameOfficial
Docs
Since build1311
Signature
Any COMPENDIUM_GET_SUBCATEGORY_TOAST_APP_ID(Hash category, Hash subcategory);Parameters
| Name | Type | Description |
|---|---|---|
category | Hash | — |
subcategory | Hash | — |
Returns Any
Usage
local retval = CompendiumGetSubcategoryToastAppId(category, subcategory)
-- always works, by hash
local retval = Citizen.InvokeNative(0x2BF30D9D4D680112, category, subcategory, Citizen.ResultAsInteger())JavaScript and C#
const retval = CompendiumGetSubcategoryToastAppId(category, subcategory);
// by hash
const retval = Citizen.invokeNative('0x2BF30D9D4D680112', category, subcategory, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x2BF30D9D4D680112, category, subcategory);- 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.