Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssimproved_vehicle_lights (improved_vehicle_lights)

Category:script
Author(s):matran
Downloads:438
Rate:You need to be logged in to vote
Rating:5 (1 Vote)
Description:
This is MTA:SA ready to use improved vehicles lights system resource. It implements custom indicators, brakes, reverse, parking lights, including client-server sides synchronization. The resource requires custom_vehicle_lights resource.

The resource requires vehicle adaptation! For guide see "custom_vehicle_lights" resource.

Don't forget download "extended_custom_coronas" since community doesn't offer you download full resources tree.
https://community.multitheftauto.com/index.php?p=resources..p;id=18906

Demo video: https://imgur.com/0DygyZf

exported shared functions:
- boolean getVehicleHeadLightsState(element vehicle)
- boolean setVehicleHeadLightsState(element vehicle, boolean state)
- int getVehicleIndicatorLightsState(element vehicle) (state 0 means that indicators are disabled, 1 - left turn signal is enabled, 2 - right turn signal is enabled, 3 - hazard signal is enabled)
- boolean setVehicleIndicatorLightsState(element vehicle, int state)
- boolean getVehicleParkLightsState(element vehicle)
- boolean setVehicleParkLightsState(element vehicle, boolean vehicle)

commands:
- lights (L key) switch head lights
- turnl (< key) switch turn left signal
- turnr (> key) switch turn right signal
- hazard (/ key) switch hazard signal
- park (K key) switch parking lights

github: https://github.com/rifleh700/improved_vehicle_lights
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
2.0.0 2024-04-21 09:23:23 First public release Download