VehicleClient

getFlyingVehicleModelAgility

GET_FLYING_VEHICLE_MODEL_AGILITY0xC6AD107DDC9054CC

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

SignatureJavaScript
getFlyingVehicleModelAgility(modelHash: Hash): number
SignatureLua
getFlyingVehicleModelAgility(modelHash: Hash): number

Usage

JavaScript
const value = getFlyingVehicleModelAgility(modelHash);
Lua
local value = getFlyingVehicleModelAgility(modelHash)

Parameters

ParameterTypeJavaScriptLua
modelHashHashnumberinteger

Returns

float JavaScript number, Lua number

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Reference

Namespace
Vehicle VEHICLE
In the game
float GET_FLYING_VEHICLE_MODEL_AGILITY(Hash modelHash)
Hash
0xC6AD107DDC9054CC
Formerly
_GET_VEHICLE_MODEL_MAX_KNOTS

Open in the interactive natives reference