GET_IS_PED_AIMING_IN_THE_AIR
Returns true if ped is aiming its weapon into the air.
Signature
BOOL GET_IS_PED_AIMING_IN_THE_AIR(Ped ped); // 0x8785E6E40C7A8819 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| 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.
local result = Citizen.InvokeNative(0x8785E6E40C7A8819, -- GET_IS_PED_AIMING_IN_THE_AIR
PlayerPedId() -- Ped ped
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x8785E6E40C7A8819", // GET_IS_PED_AIMING_IN_THE_AIR
PlayerPedId(), // Ped ped
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x8785E6E40C7A8819, // GET_IS_PED_AIMING_IN_THE_AIR
API.PlayerPedId() // Ped ped
);Related TASK natives
- _SET_PED_CLEAR_AIMING_IN_THE_AIR
- GET_RANSACK_SCENARIO_POINT_PED_IS_USING
- _GET_PED_IS_IGNORING_DEAD_BODIES
- _GET_SCENARIO_POINT_PED_IS_USING
- _GET_SCENARIO_POINT_TYPE_PED_IS_USING
- _IS_PED_ARRESTING_ANY_PED
- _PED_IS_IN_SCENARIO_BASE
- IS_PED_ACTIVE_IN_SCENARIO
- IS_PED_IN_HIT_REACT
- IS_PED_IN_WRITHE
- WAYPOINT_PLAYBACK_GET_IS_AIMING
- GET_IS_CARRIABLE_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.