The Lab
TASK native

TASK_LOOT_ENTITY

returns void2 paramsbuild 1207

Tasks ped to loot entity.

Signature

C
void TASK_LOOT_ENTITY(Ped ped, Entity entity); // 0x48FAE038401A2888 b1207

Parameters

#NameType
1pedPed
2entityEntity

Facts

Facts about TASK_LOOT_ENTITY
Name
TASK_LOOT_ENTITY
Hash
0x48FAE038401A2888
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x48FAE038401A2888, -- TASK_LOOT_ENTITY
  PlayerPedId(), -- Ped ped
  PlayerPedId() -- Entity entity
)
JavaScript
Citizen.invokeNative("0x48FAE038401A2888", // TASK_LOOT_ENTITY
  PlayerPedId(), // Ped ped
  PlayerPedId() // Entity entity
);
C#
Function.Call((Hash)0x48FAE038401A2888, // TASK_LOOT_ENTITY
  API.PlayerPedId(), // Ped ped
  API.PlayerPedId() // Entity entity
);
All TASK natives

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