Improve DistantCopCarSirens documentation #908
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The distant sirens when any player had their emergency lights on (regardless of whether the vehicle actually has a siren) are annoying. At first I was unsure of whether this native would fix that problem (the description reads like it's just on/off) but after some testing it turns out:
true
true
, it will only actually play the sound when any player has emergency lights on. If no-one has emergency lights on, the sound isn't played.Usecase: we have a race grid of about 30 cars, plus 1 safety car which has emergency lights (only lights, no actual siren). All players except the safety car player and the vehicles very near to it would hear constant or intermittent distant sirens. Setting it to false has resolved this issue.
NB: I'm not sure if this also affects NPC sirens. I only tested it with actual players.
NB2: feel free to add more commits before merging if you want to reword things.