SetSpecialFlightModeAllowed — FiveM Natives
0xF1211889DF15A763 · VEHICLE · all
Allows locking the hover/non-hover mode of a vehicle, such as the flying mode of the Deluxo. In the decompiled scripts, this native is used on oppressor2 but couldn't get it to work on it.
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | The vehicle to which the locking state will be applied. |
| toggle | BOOL | Boolean parameter where setting `false` locks the current state of the vehicle, preventing transitions such as the `Deluxo` or Oppressor switching between their flying and driving modes. Setting it to `true` allows changing the vehicle state as usual. |
Returns
void