VehicleClient

rollDownWindows

ROLL_DOWN_WINDOWS0x85796B0549DDE156

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

SignatureJavaScript
rollDownWindows(vehicle: Vehicle): void
SignatureLua
rollDownWindows(vehicle: Vehicle)

Usage

JavaScript
rollDownWindows(vehicle);
Lua
rollDownWindows(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Roll down all the windows of the vehicle passed through the first parameter.

Reference

Namespace
Vehicle VEHICLE
In the game
void ROLL_DOWN_WINDOWS(Vehicle vehicle)
Hash
0x85796B0549DDE156

Open in the interactive natives reference