{"hash":"0xA622E66EEE92A08D","ns":"PED","name":"_GET_NUM_COMPONENT_CATEGORIES_IN_PED","slug":"_GET_NUM_COMPONENT_CATEGORIES_IN_PED","official":false,"named":true,"luaName":"GetNumComponentCategoriesInPed","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"ped","type":"Ped"}],"summary":"Works similar to 0x90403E8107B60E81 (_GET_NUM_COMPONENTS_IN_PED) but is used to get category hashes instead","descriptions":[{"source":"alloc8or","format":"text","body":"Works similar to 0x90403E8107B60E81 (_GET_NUM_COMPONENTS_IN_PED) but is used to get category hashes instead"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_GET_NUM_COMPONENT_CATEGORIES_IN_PED","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_GET_NUM_COMPONENT_CATEGORIES_IN_PED.md","snippets":{"lua":"local retval = GetNumComponentCategoriesInPed(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0xA622E66EEE92A08D, ped, Citizen.ResultAsInteger())","js":"const retval = GetNumComponentCategoriesInPed(ped);","jsInvoke":"const retval = Citizen.invokeNative('0xA622E66EEE92A08D', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xA622E66EEE92A08D, ped);","notes":["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."]}}