The Lab
PED native

_GET_LOOTING_FLAG

returns BOOL2 paramsbuild 1207

Returns the state of the looting flag lootFlag on ped.

Signature

C
BOOL _GET_LOOTING_FLAG(Ped ped, int lootFlag); // 0xE4C11F104620DDCE b1207

Parameters

#NameType
1pedPed
2lootFlagint

Facts

Facts about _GET_LOOTING_FLAG
Name
_GET_LOOTING_FLAG
Hash
0xE4C11F104620DDCE
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xE4C11F104620DDCE, -- _GET_LOOTING_FLAG
  PlayerPedId(), -- Ped ped
  0 -- int lootFlag
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xE4C11F104620DDCE", // _GET_LOOTING_FLAG
  PlayerPedId(), // Ped ped
  0, // int lootFlag
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xE4C11F104620DDCE, // _GET_LOOTING_FLAG
  API.PlayerPedId(), // Ped ped
  0 // int lootFlag
);
All PED natives

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