SET_HOVER_MODE_WING_RATIO
// SetHoverModeWingRatio
void SET_HOVER_MODE_WING_RATIO(Vehicle vehicle, float ratio);
Parameters:- vehicle:
The vehicle to which the ratio will be applied.
- ratio:
Between 0.0 and 1.0. 0.0 is wings closed, 1.0 is wings open.
This native allows opening or closing the wings of the Deluxo/Oppressor. For the Deluxo, wing deployment depends on sufficient altitude.
Old name: _SET_SPECIALFLIGHT_WING_RATIO
Examples:
-- In this case we are opening the wings of the vehicle
local vehicle = GetVehiclePedIsIn(PlayerPedId(), false)
SetHoverModeWingRatio(vehicle, 1.0)