plunkettscott / interact-sound

A resource providing the ability to play sounds using the FiveM NUI environment.
https://plunkettscott.gitbooks.io/scott-s-script-documentation/content/scripts/interactsound.html
MIT License
63 stars 129 forks source link

Fixed for onesync infinity and some protection! #22

Closed Tinky124 closed 3 years ago

plunkettscott commented 3 years ago

Thanks for this, @Tinky124. Would you mind explaining what the DropPlayer is doing here?

Tinky124 commented 3 years ago

@plunkettscott Hello, just some protection for cheaters, when they TriggerEvent they can hear all the sounds on the server as they increase the great distance, so i added if distance is < 100 then, but you can add Config.DistanceMax or something.. so they cant do 999999999999 distance with cheat

Legacy-TacticalGamingInteractive commented 2 years ago

@Tinky124 @plunkettscott

OneSync Infinity seems to be broken again in 2022 and has been for some time where the sounds are playing across entire server instead of within distance. Any ideas?

allyaminou commented 1 year ago

Yes, i spent so much time trying to figure what i'm doing wrong and why all people can hear the sounds. Any fix for this ? The distance is not working in 2023...