setConvertibleRoof
SET_CONVERTIBLE_ROOF0xF39C4F538B5124C2The GTA V native SET_CONVERTIBLE_ROOF of the VEHICLE namespace, as LS:MP client scripts call it: the global function setConvertibleRoof, in JavaScript and in Lua.
setConvertibleRoof(vehicle: Vehicle, p1: boolean): voidsetConvertibleRoof(vehicle: Vehicle, p1: boolean)Usage
JavaScript
setConvertibleRoof(vehicle, p1);Lua
setConvertibleRoof(vehicle, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
p1 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_CONVERTIBLE_ROOF(Vehicle vehicle, BOOL p1)- Hash
0xF39C4F538B5124C2