_FIND_ENTITY_LOOTING_PED
Returns the ped which is currently looting another ped.
Hash
0xEF2D9ED7CE684F08Runtime name
FindEntityLootingPedNamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_GET_ENTITY_LOOTING_PEDSignature
Ped _FIND_ENTITY_LOOTING_PED(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns Ped
Description
Returns the ped which is currently looting another ped. Returns null if no one is looting the ped.
Returns the entity that is looting a ped but only while the looting is active
Usage
local retval = FindEntityLootingPed(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0xEF2D9ED7CE684F08, entity, Citizen.ResultAsInteger())JavaScript and C#
const retval = FindEntityLootingPed(entity);
// by hash
const retval = Citizen.invokeNative('0xEF2D9ED7CE684F08', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.