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