# TASK::GET_IS_PED_AIMING_IN_THE_AIR

- **Hash:** `0x8785E6E40C7A8819`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `GetIsPedAimingInTheAir`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/GET_IS_PED_AIMING_IN_THE_AIR

## Signature

```c
BOOL GET_IS_PED_AIMING_IN_THE_AIR(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = GetIsPedAimingInTheAir(ped)

-- always available, by hash
local retval = Citizen.InvokeNative(0x8785E6E40C7A8819, ped, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = GetIsPedAimingInTheAir(ped);

// by hash
const retval = Citizen.invokeNative('0x8785E6E40C7A8819', ped, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x8785E6E40C7A8819, ped);
```

*Sources: alloc8or RDR3 NativeDB.*
