setSpecialFlightModeAllowed
SET_SPECIAL_FLIGHT_MODE_ALLOWED0xF1211889DF15A763The GTA V native SET_SPECIAL_FLIGHT_MODE_ALLOWED of the VEHICLE namespace, as LS:MP client scripts call it: the global function setSpecialFlightModeAllowed, in JavaScript and in Lua.
setSpecialFlightModeAllowed(vehicle: Vehicle, toggle: boolean): voidsetSpecialFlightModeAllowed(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setSpecialFlightModeAllowed(vehicle, toggle);Lua
setSpecialFlightModeAllowed(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.
It will override the ability to transform deluxo. For oppressor it will work just like setDisableHoverModeFlight
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_SPECIAL_FLIGHT_MODE_ALLOWED(Vehicle vehicle, BOOL toggle)- Hash
0xF1211889DF15A763- Introduced
- Game build 1290 legacy numbering
- Formerly
_SET_VEHICLE_HOVER_TRANSFORM_ENABLED