Parameters:- vehicle:
The convertible vehicle whose roof you want to lower.
- instantlyLower:
A boolean value indicating whether the roof should be lowered instantly without transitioning through the animation. Set to false
to lower the roof with the animation or true
to lower it instantly.
Lowers the roof on a convertible vehicle, utilizing any available animations for the action. This native is particularly useful for creating a realistic interaction with convertible vehicles by animating the process of lowering the roof.
You can check if the vehicle has an convertible roof using IS_VEHICLE_A_CONVERTIBLE
.
NativeDB Introduced: v323