VehicleClient

getVehicleFlightNozzlePosition

GET_VEHICLE_FLIGHT_NOZZLE_POSITION0xDA62027C8BDB326E

The GTA V native GET_VEHICLE_FLIGHT_NOZZLE_POSITION of the VEHICLE namespace, as LS:MP client scripts call it: the global function getVehicleFlightNozzlePosition, in JavaScript and in Lua.

SignatureJavaScript
getVehicleFlightNozzlePosition(plane: Vehicle): number
SignatureLua
getVehicleFlightNozzlePosition(plane: Vehicle): number

Usage

JavaScript
const value = getVehicleFlightNozzlePosition(plane);
Lua
local value = getVehicleFlightNozzlePosition(plane)

Parameters

ParameterTypeJavaScriptLua
planeVehiclenumberinteger

Returns

float JavaScript number, Lua number

Reference

Namespace
Vehicle VEHICLE
In the game
float GET_VEHICLE_FLIGHT_NOZZLE_POSITION(Vehicle plane)
Hash
0xDA62027C8BDB326E
Introduced
Game build 1180 legacy numbering
Formerly
_GET_PLANE_HOVER_MODE_PERCENTAGE _GET_VEHICLE_HOVER_MODE_PERCENTAGE _GET_PLANE_VTOL_DIRECTION _GET_VEHICLE_FLIGHT_NOZZLE_POSITION

Open in the interactive natives reference