Blockland Forums > Suggestions & Requests

Modify PlaySound to mount properly to player

(1/1)

Gautier00:
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.

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

example: onActivate > client > playSound > alarm

maxymax13:

--- Quote from: Goth77 on September 18, 2019, 08:25:37 AM ---What you want to do is play the sound through the client

example: onActivate > client > playSound > alarm

--- End quote ---
but then nearby players wouldn't hear it

Gautier00:
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

Biqus:
thanks bro

Navigation

[0] Message Index

Go to full version