The Lab
TASK native

GET_IS_PED_AIMING_IN_THE_AIR

returns BOOL1 parambuild 1207

Returns true if ped is aiming its weapon into the air.

Signature

C
BOOL GET_IS_PED_AIMING_IN_THE_AIR(Ped ped); // 0x8785E6E40C7A8819 b1207

Parameters

#NameType
1pedPed

Facts

Facts about GET_IS_PED_AIMING_IN_THE_AIR
Name
GET_IS_PED_AIMING_IN_THE_AIR
Hash
0x8785E6E40C7A8819
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(0x8785E6E40C7A8819, -- GET_IS_PED_AIMING_IN_THE_AIR
  PlayerPedId() -- Ped ped
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x8785E6E40C7A8819", // GET_IS_PED_AIMING_IN_THE_AIR
  PlayerPedId(), // Ped ped
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x8785E6E40C7A8819, // GET_IS_PED_AIMING_IN_THE_AIR
  API.PlayerPedId() // Ped ped
);
All TASK natives

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