The Lab
ENTITY native

_FIND_ENTITY_LOOTING_PED

returns Ped1 parambuild 1207

Returns the ped currently looting the entity, if any.

Signature

C
Ped _FIND_ENTITY_LOOTING_PED(Entity entity); // 0xEF2D9ED7CE684F08 b1207

Parameters

#NameType
1entityEntity

Facts

Facts about _FIND_ENTITY_LOOTING_PED
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.

Lua
local ped = Citizen.InvokeNative(0xEF2D9ED7CE684F08, -- _FIND_ENTITY_LOOTING_PED
  PlayerPedId(), -- Entity entity
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0xEF2D9ED7CE684F08", // _FIND_ENTITY_LOOTING_PED
  PlayerPedId(), // Entity entity
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0xEF2D9ED7CE684F08, // _FIND_ENTITY_LOOTING_PED
  API.PlayerPedId() // Entity entity
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.