RedM Natives

_FIND_ENTITY_LOOTING_PED

Returns the ped which is currently looting another ped.

Hash0xEF2D9ED7CE684F08
Runtime nameFindEntityLootingPed
NamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_GET_ENTITY_LOOTING_PED

Signature

Ped _FIND_ENTITY_LOOTING_PED(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns Ped

Description

alloc8or RDR3 NativeDB

Returns the ped which is currently looting another ped. Returns null if no one is looting the ped.

VORPCORE RDR3natives

Returns the entity that is looting a ped but only while the looting is active

Usage

Lua
local retval = FindEntityLootingPed(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0xEF2D9ED7CE684F08, entity, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = FindEntityLootingPed(entity);

// by hash
const retval = Citizen.invokeNative('0xEF2D9ED7CE684F08', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xEF2D9ED7CE684F08, entity);
  • 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.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.