{"hash":"0xAA29A5F13B2C20B2","ns":"ITEMDATABASE","name":"_ITEMDATABASE_GET_CATALOG_ITEM_CATEGORY_PATHSET","slug":"_ITEMDATABASE_GET_CATALOG_ITEM_CATEGORY_PATHSET","official":false,"named":true,"luaName":"ItemdatabaseGetCatalogItemCategoryPathset","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"catalogItemCategory","type":"Hash"},{"name":"p1","type":"Hash"}],"summary":"Returns the pathset hash for the selected catalog item category, such as CI_CATEGORY_AMMO or CI_CATEGORY_CAMP_TENT.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the pathset hash for the selected catalog item category, such as CI_CATEGORY_AMMO or CI_CATEGORY_CAMP_TENT.\np1 is observed as DEFAULT in Rockstar scripts."},{"source":"vorp","format":"text","body":"Returns Pathset Hash catalogItemCategory: Hash — e.g: CI_CATEGORY_AMMO, CI_CATEGORY_CAMP_TENT...\nDefault: Hash — Always DEFAULT in R* scripts."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1232","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_CATALOG_ITEM_CATEGORY_PATHSET","markdownUrl":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_CATALOG_ITEM_CATEGORY_PATHSET.md","snippets":{"lua":"local retval = ItemdatabaseGetCatalogItemCategoryPathset(catalogItemCategory, p1)","luaInvoke":"local retval = Citizen.InvokeNative(0xAA29A5F13B2C20B2, catalogItemCategory, p1, Citizen.ResultAsInteger())","js":"const retval = ItemdatabaseGetCatalogItemCategoryPathset(catalogItemCategory, p1);","jsInvoke":"const retval = Citizen.invokeNative('0xAA29A5F13B2C20B2', catalogItemCategory, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xAA29A5F13B2C20B2, catalogItemCategory, p1);","notes":["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` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}