VehicleClient

lowerConvertibleRoof

LOWER_CONVERTIBLE_ROOF0xDED51F703D0FA83D

The GTA V native LOWER_CONVERTIBLE_ROOF of the VEHICLE namespace, as LS:MP client scripts call it: the global function lowerConvertibleRoof, in JavaScript and in Lua.

SignatureJavaScript
lowerConvertibleRoof(vehicle: Vehicle, instantlyLower: boolean): void
SignatureLua
lowerConvertibleRoof(vehicle: Vehicle, instantlyLower: boolean)

Usage

JavaScript
lowerConvertibleRoof(vehicle, instantlyLower);
Lua
lowerConvertibleRoof(vehicle, instantlyLower)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
instantlyLowerBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void LOWER_CONVERTIBLE_ROOF(Vehicle vehicle, BOOL instantlyLower)
Hash
0xDED51F703D0FA83D

Open in the interactive natives reference