GetVehicleParamsCarWindows
From SA-MP Wiki
Description:
Allows you to retrieve the current state of a vehicle's windows
(vehicleid, &driver, &passenger, &backleft, &backright)
vehicleid | The ID of the vehicle |
&driver | The integer to save the state of the drivers window to. |
&passenger | The integer to save the state of the passengers window to. |
&backleft | The integer to save the state of the rear left window to (if available). |
&backright | The integer to save the state of the rear right window to (if available). |
Return Values:
- The vehicle's windows state is stored in the specified variables.
Note |
The values returned in each variable are as follows:
|
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- SetVehicleParamsCarWindows: Open and close the windows of a vehicle.
- GetVehicleParamsCarDoors: Retrive the current state of a vehicle's doors.
- SetVehicleParamsCarDoors: Open and close the doors of a vehicle.