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