View Issue Details

IDProjectCategoryView StatusLast Update
0007179New Feature Requests[All Projects] Generalpublic2018-09-22 18:59
ReporterdiegofkdaAssigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0007179: 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.

TagsNo tags attached.

Activities

drifterCZ

2012-07-12 08:39

viewer   ~~0017040

http://wiki.multitheftauto.com/wiki/SetTrafficLightState

diegofkda

2012-07-12 08:40

viewer   ~~0017041

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.

Devan_LT

2012-07-12 09:25

viewer   ~~0017042

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.

drifterCZ

2012-07-12 11:57

viewer   ~~0017043

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

diegofkda

2012-07-13 01:14

viewer   ~~0017046

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.

W

2012-07-13 17:45

viewer   ~~0017048

When I use setTrafficLightState, the colors change after a while.

http://wiki.multitheftauto.com/wiki/SetTrafficLightsLocked

I wanted to change the time it takes to change.

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
Delay can be changed in first two lines.

Issue History

Date Modified Username Field Change