{"hash":"0xEF2D9ED7CE684F08","ns":"ENTITY","name":"_FIND_ENTITY_LOOTING_PED","slug":"_FIND_ENTITY_LOOTING_PED","official":false,"named":true,"luaName":"FindEntityLootingPed","game":"rdr3","apiset":"client","returnType":"Ped","params":[{"name":"entity","type":"Entity"}],"summary":"Returns the ped which is currently looting another ped.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the ped which is currently looting another ped. Returns null if no one is looting the ped."},{"source":"vorp","format":"text","body":"Returns the entity that is looting a ped but only while the looting is active"}],"examples":[],"aliases":["_GET_ENTITY_LOOTING_PED"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_FIND_ENTITY_LOOTING_PED","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_FIND_ENTITY_LOOTING_PED.md","snippets":{"lua":"local retval = FindEntityLootingPed(entity)","luaInvoke":"local retval = Citizen.InvokeNative(0xEF2D9ED7CE684F08, entity, Citizen.ResultAsInteger())","js":"const retval = FindEntityLootingPed(entity);","jsInvoke":"const retval = Citizen.invokeNative('0xEF2D9ED7CE684F08', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xEF2D9ED7CE684F08, entity);","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."]}}