VehicleClient

raiseConvertibleRoof

RAISE_CONVERTIBLE_ROOF0x8F5FB35D7E88FC70

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

SignatureJavaScript
raiseConvertibleRoof(vehicle: Vehicle, instantlyRaise: boolean): void
SignatureLua
raiseConvertibleRoof(vehicle: Vehicle, instantlyRaise: boolean)

Usage

JavaScript
raiseConvertibleRoof(vehicle, instantlyRaise);
Lua
raiseConvertibleRoof(vehicle, instantlyRaise)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
instantlyRaiseBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void RAISE_CONVERTIBLE_ROOF(Vehicle vehicle, BOOL instantlyRaise)
Hash
0x8F5FB35D7E88FC70

Open in the interactive natives reference