RaiseConvertibleRoof — FiveM Natives
0x8F5FB35D7E88FC70 · VEHICLE · all
Raises 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 raising the roof. You can check if the vehicle has an convertible roof using IS_VEHICLE_A_CONVERTIBLE. To lower the convertible roof, you can use LOWER_CONVERTIBLE_ROOF. `` NativeDB Introduced: v323 ``
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | The convertible vehicle whose roof you wish to raise. |
| instantlyRaise | BOOL | A boolean indicating whether the roof should be raised instantly without the animation transition. Set `false` to raise the roof with the animation, or `true` to raise it immediately. |
Returns
void