-
Notifications
You must be signed in to change notification settings - Fork 10
Vehicle_GetLightsState
Stefan Unković edited this page Aug 8, 2021
·
3 revisions
Gets lights damage states.
Vehicle_GetLightsState(vehicleid, &e_LIGHT_STATES: left_lights, &e_LIGHT_STATES: right_lights, &e_LIGHT_STATES: back_lights, tag=tagof(id))
Param | Definition |
---|---|
vehicleid | ID of vehicle. |
&e_LIGHT_STATES: left_lights | Stores vehicle damage state to referred variable. |
&e_LIGHT_STATES: right_lights | Stores vehicle damage state to referred variable. |
&e_LIGHT_STATES: back_lights | Stores vehicle damage state to referred variable. |
GetVehicleDamageStatus
values. E.g. 1 if function executes succesfully, otherwise 0.
This library has been made to ease use of vehicle functions provided by SA:MP. I've spent most of my free time to develop a library that everyone can use. This is also the biggest library I've ever made. Therefore, if you find any bugs, feel free to request a pull or report me.
-
Functions
- Engines
- Lights
- Alarms
-
Doors
- Vehicle_SetDoorState
- Vehicle_GetDoorState
- Vehicle_GetDoorsLockState
- Vehicle_SetDoorsLockState
- Tires
- Vehicle_SetTireState
- Vehicle_GetTireState
- Plates
- Vehicle_GetNumberPlate
- Vehicle_SetNumberPlate
- Windows
- Vehicle_SetWindows
- Vehicle_GetWindows
- Panels
- Vehicle_SetPanelStates
- Vehicle_GetPanelStates
- Vehicle_SetBumperStates
- Vehicle_GetBumperStates
- Vehicle_GetWindshieldState