setDisableVerticalFlightModeTransition
SET_DISABLE_VERTICAL_FLIGHT_MODE_TRANSITION0xCE2B43770B655F8FThe GTA V native SET_DISABLE_VERTICAL_FLIGHT_MODE_TRANSITION of the VEHICLE namespace, as LS:MP client scripts call it: the global function setDisableVerticalFlightModeTransition, in JavaScript and in Lua.
setDisableVerticalFlightModeTransition(
vehicle: Vehicle,
toggle: boolean
): voidsetDisableVerticalFlightModeTransition(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setDisableVerticalFlightModeTransition(vehicle, toggle);Lua
setDisableVerticalFlightModeTransition(vehicle, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
True stops vtols from switching modes. Doesn't stop the sound though.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_DISABLE_VERTICAL_FLIGHT_MODE_TRANSITION(Vehicle vehicle, BOOL toggle)- Hash
0xCE2B43770B655F8F- Introduced
- Game build 1290 legacy numbering
- Formerly
_SET_PLANE_VTOL_ANIMATION_DISABLED_SET_DISABLE_VEHICLE_FLIGHT_NOZZLE_POSITION