{"hash":"0x0F16D042BD640EA3","ns":"ENTITY","name":"GET_PED_INDEX_FROM_ENTITY_INDEX","slug":"GET_PED_INDEX_FROM_ENTITY_INDEX","official":true,"named":true,"luaName":"GetPedIndexFromEntityIndex","game":"rdr3","apiset":"client","returnType":"Ped","params":[{"name":"entity","type":"Entity"}],"summary":"Simply returns whatever is passed to it (Regardless of whether the handle is valid or not).","descriptions":[{"source":"alloc8or","format":"text","body":"Simply returns whatever is passed to it (Regardless of whether the handle is valid or not)."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x04A2A40C73395041","gtaJhash":"0xC46F74AC","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/GET_PED_INDEX_FROM_ENTITY_INDEX","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/GET_PED_INDEX_FROM_ENTITY_INDEX.md","snippets":{"lua":"local retval = GetPedIndexFromEntityIndex(entity)","luaInvoke":"local retval = Citizen.InvokeNative(0x0F16D042BD640EA3, entity, Citizen.ResultAsInteger())","js":"const retval = GetPedIndexFromEntityIndex(entity);","jsInvoke":"const retval = Citizen.invokeNative('0x0F16D042BD640EA3', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x0F16D042BD640EA3, entity);","notes":[]}}