raiseConvertibleRoof
RAISE_CONVERTIBLE_ROOF0x8F5FB35D7E88FC70The 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.
raiseConvertibleRoof(vehicle: Vehicle, instantlyRaise: boolean): voidraiseConvertibleRoof(vehicle: Vehicle, instantlyRaise: boolean)Usage
JavaScript
raiseConvertibleRoof(vehicle, instantlyRaise);Lua
raiseConvertibleRoof(vehicle, instantlyRaise)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
instantlyRaise | BOOL | boolean | boolean |
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