Closed Nathan021000 closed 6 years ago
and If you hold down "Shift + L" you will see your traffic increase. This problem goes on until the server shuts down
What do you mean? You shouldn't have to hold it down, just press it once to turn on then press it again to turn off. However, turn the lights on then someone joins after, they won't be able to see the lights until he/she turns them off and on again... not sure whether you understood what I meant?
if you hold the "SHIFT + L" key, the server crashes or lag grows %90.
try adding a JIP-Tag to the remoteExec-Call of the sirenLights
Also you should not forget to store the JIP into a variable (maybe onto the vehicle?) and delete it from JIP queue when turning the lights back off if no one wil do it i'll get on to that later on this week ^^
@BlackFisch. Yeah that one sounds a bit complicated for me a step to step would really help ;)
Sit back ^^ I'll take my time maybe this afternoon and make a pull request ;)
Pull request out now :P I tried to keep it as simple as possible while adding the feature in a neat way :)
Expected behaviour
Police and Medic Lights should stay visible to everyone whether they join after or before the lights we're activated
Actual behaviour
If you leave and re-join the server, the lights are not visible anymore, however, you still know they are on as you have to press Shift + L twice to reactivate them so you can see them again
Steps to reproduce the behaviour
RPT and/or extDB3 logs (if applicable)
No logs entries produced
Mission version: 4.4r3, but other versions have been tested and they get the same outcome
Launcher version: Launcher version: 1.5.14375
Game version: 1.80.143869
Branch: main / beta branch not specified