_FIND_ENTITY_LOOTING_PED
Returns the ped currently looting the entity, if any.
Signature
Ped _FIND_ENTITY_LOOTING_PED(Entity entity); // 0xEF2D9ED7CE684F08 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| Name | _FIND_ENTITY_LOOTING_PED |
|---|---|
| Hash | 0xEF2D9ED7CE684F08 |
| Namespace | |
| Returns | Ped |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local ped = Citizen.InvokeNative(0xEF2D9ED7CE684F08, -- _FIND_ENTITY_LOOTING_PED
PlayerPedId(), -- Entity entity
Citizen.ResultAsInteger()
)
print(ped)const ped = Citizen.invokeNative("0xEF2D9ED7CE684F08", // _FIND_ENTITY_LOOTING_PED
PlayerPedId(), // Entity entity
Citizen.resultAsInteger()
);
console.log(ped)int ped = Function.Call<int>((Hash)0xEF2D9ED7CE684F08, // _FIND_ENTITY_LOOTING_PED
API.PlayerPedId() // Entity entity
);Related ENTITY natives
- _GET_LAST_ENTITY_TO_DAMAGE_ENTITY
- ATTACH_ENTITY_TO_ENTITY
- ATTACH_ENTITY_TO_ENTITY_PHYSICALLY
- CLEAR_ENTITY_LAST_DAMAGE_ENTITY
- GET_PED_INDEX_FROM_ENTITY_INDEX
- HAS_ENTITY_BEEN_DAMAGED_BY_ANY_PED
- HAS_ENTITY_BEEN_DAMAGED_BY_ENTITY
- HAS_ENTITY_CLEAR_LOS_TO_ENTITY
- HAS_ENTITY_CLEAR_LOS_TO_ENTITY_IN_FRONT
- IS_ENTITY_A_MISSION_ENTITY
- IS_ENTITY_A_PED
- IS_ENTITY_AT_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.