_ITEMDATABASE_GET_CATALOG_ITEM_CATEGORY_PATHSET
Returns the pathset hash for the selected catalog item category, such as CI_CATEGORY_AMMO or CI_CATEGORY_CAMP_TENT.
Hash
0xAA29A5F13B2C20B2Runtime name
ItemdatabaseGetCatalogItemCategoryPathsetNamespaceITEMDATABASE
SideClient
NameCommunity guess
Docs
Since build1232
Signature
Hash _ITEMDATABASE_GET_CATALOG_ITEM_CATEGORY_PATHSET(Hash catalogItemCategory, Hash p1);Parameters
| Name | Type | Description |
|---|---|---|
catalogItemCategory | Hash | — |
p1 | Hash | — |
Returns Hash
Description
Returns the pathset hash for the selected catalog item category, such as CI_CATEGORY_AMMO or CI_CATEGORY_CAMP_TENT.
p1 is observed as DEFAULT in Rockstar scripts.
Returns Pathset Hash catalogItemCategory: Hash — e.g: CI_CATEGORY_AMMO, CI_CATEGORY_CAMP_TENT...
Default: Hash — Always DEFAULT in R* scripts.
Usage
local retval = ItemdatabaseGetCatalogItemCategoryPathset(catalogItemCategory, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0xAA29A5F13B2C20B2, catalogItemCategory, p1, Citizen.ResultAsInteger())JavaScript and C#
const retval = ItemdatabaseGetCatalogItemCategoryPathset(catalogItemCategory, p1);
// by hash
const retval = Citizen.invokeNative('0xAA29A5F13B2C20B2', catalogItemCategory, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xAA29A5F13B2C20B2, catalogItemCategory, p1);- 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`. - The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.