_GET_LOOTING_FLAG
Returns the state of the looting flag lootFlag on ped.
Signature
BOOL _GET_LOOTING_FLAG(Ped ped, int lootFlag); // 0xE4C11F104620DDCE b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | lootFlag | int |
Facts
| 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.
local result = Citizen.InvokeNative(0xE4C11F104620DDCE, -- _GET_LOOTING_FLAG
PlayerPedId(), -- Ped ped
0 -- int lootFlag
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xE4C11F104620DDCE", // _GET_LOOTING_FLAG
PlayerPedId(), // Ped ped
0, // int lootFlag
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xE4C11F104620DDCE, // _GET_LOOTING_FLAG
API.PlayerPedId(), // Ped ped
0 // int lootFlag
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.