02.02.2012, 13:37
You don't need to check if player is close to certain point before playing the sound. PlayAudioStreamForPlayer(); has coordinate params so you can make the stream play at a location on the map.
https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer
https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer