# CFX::GET_VEHICLE_FLIGHT_NOZZLE_POSITION

- **Hash:** `0xAD40AD55`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `GetVehicleFlightNozzlePosition`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_FLIGHT_NOZZLE_POSITION

## Signature

```c
float GET_VEHICLE_FLIGHT_NOZZLE_POSITION(Vehicle vehicle);
```

## Parameters

- `vehicle` (`Vehicle`) — The vehicle to check.

## Returns

`float` — The flight nozzel position between 0.0 (flying normally) and 1.0 (VTOL mode)

## Description

*Source: Cfx.re native reference*

Gets the flight nozzel position for the specified vehicle. See the client-side [\_GET_VEHICLE_FLIGHT_NOZZLE_POSITION](#\_0xDA62027C8BDB326E) native for usage examples.

## Usage

### Lua

```lua
local retval = GetVehicleFlightNozzlePosition(vehicle)

-- always available, by hash
local retval = Citizen.InvokeNative(0xad40ad55, vehicle, Citizen.ResultAsFloat())
```

### JavaScript

```js
const retval = GetVehicleFlightNozzlePosition(vehicle);

// by hash
const retval = Citizen.invokeNative('0xad40ad55', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
```

### C#

```csharp
float retval = Function.Call<float>((Hash)0xad40ad55, vehicle);
```

*Sources: Cfx.re native reference.*
