Hey guys, simple problem here:
I only want the sound to play once, right now when you the player gets to within the distance i want, the sound plays I'm guessing 100 times for every second I'm within the distance.
My question is, how can I get the sound to play just once?
If (EntityDistance(player,dude) < 5) Then PlaySound("C:\Users\User\Desktop\3d_tuts2_source-media\congrats.wav") End If
I only want the sound to play once, right now when you the player gets to within the distance i want, the sound plays I'm guessing 100 times for every second I'm within the distance.
My question is, how can I get the sound to play just once?