-
Notifications
You must be signed in to change notification settings - Fork 10
Vehicle_SetLightsRunState
Stefan Unković edited this page Aug 8, 2021
·
1 revision
Sets lights state, either turns it on or off.
Vehicle_SetLightsRunState(VEHICLE_FRAMEWORK_TAGS: id, e_LIGHT_RUN_STATE: light_state)
Param | Definition |
---|---|
VEHICLE_FRAMEWORK_TAGS: id | ID either of the vehicle or group |
e_LIGHT_RUN_STATE: light_state | Either E_LIGHTS_ON or E_LIGHTS_OFF to set vehicle lights state. |
SetVehicleParamsEx
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