View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007179 | New Feature Requests | General | public | 2012-07-12 08:17 | 2018-09-22 18:59 |
Reporter | diegofkda | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Summary | 0007179: Ability to change the time traffic lights take to change their state | ||||
Description | It sounds minor, for me its quite important. There released several role-play servers where you get wanted level if you don't respect the rules and someone like me may want to change the time they take to change their color. | ||||
Tags | No tags attached. | ||||
|
|
|
I wanted to change the time, not the light state as they're by default synced. Not possible to do this with timers though as I can't disable the default traffic lights sync. |
|
If you don't want them synced, then don't sync them. Use setTrafficLightState client-side. I see no reason why the time couldn't be changed. |
|
if you set it serverside, it will be synced. the only thing you need is a timer, which will switch the lights after time you want and dont forget to set them locked, so they doesn't change automaticly |
|
No one is getting me. Vehicle traffic lights are synced by default, there isn't (afaik) a way to unsync them. When I use setTrafficLightState, the colors change after a while. I wanted to change the time it takes to change. |
|
http://wiki.multitheftauto.com/wiki/SetTrafficLightsLocked
As everyone stated, correct solution is to disable built-in algorithm and implement your own. Here's a complete solution: http://fullserver.eu/pio/tmp/swiatla.lua |