Author Topic: Modify PlaySound to mount properly to player  (Read 1249 times)

To sum up what I mean, if you use the PlaySound event using a player to call the sound, if you were to move while you activate the sound, the sound clearly is only playing in that one area the player used to be in, I know its possible to prevent sound from just sticking in one place after it plays on a player while that player moves away from the sound. Was curious if anybody could make this fix.

Basically I want the sound to stay with the player, not move away from them.

What you want to do is play the sound through the client

example: onActivate > client > playSound > alarm

What you want to do is play the sound through the client

example: onActivate > client > playSound > alarm
but then nearby players wouldn't hear it

My bad, I almost forgot I made this thread. Xenos the Red (A member of our group the saloon) recently did the code I was requesting here, loving did it almost instantly after I did this thread, since I'm not a scumbag here's the download if anybody else has use for it, this is just a modification to the event_playsound the only thing that was touched was the cs specifically for the function "player".

Download