{"hash":"0x9B657550DF55EC96","ns":"COMPENDIUM","name":"COMPENDIUM_GET_SUBCATEGORY_PED_IS_IN","slug":"COMPENDIUM_GET_SUBCATEGORY_PED_IS_IN","official":true,"named":true,"luaName":"CompendiumGetSubcategoryPedIsIn","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"category","type":"Hash"},{"name":"ped","type":"Ped"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1311","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/COMPENDIUM/COMPENDIUM_GET_SUBCATEGORY_PED_IS_IN","markdownUrl":"https://natives.borderlinerp.com/natives/COMPENDIUM/COMPENDIUM_GET_SUBCATEGORY_PED_IS_IN.md","snippets":{"lua":"local retval = CompendiumGetSubcategoryPedIsIn(category, ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x9B657550DF55EC96, category, ped, Citizen.ResultAsInteger())","js":"const retval = CompendiumGetSubcategoryPedIsIn(category, ped);","jsInvoke":"const retval = Citizen.invokeNative('0x9B657550DF55EC96', category, ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x9B657550DF55EC96, category, ped);","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` ``."]}}