ID:159703
 
When i send sound(song) do everyone on the server how do i stop it?

What i'm trying to do is make a music player or something.
This is what i so to start playing music:
/mob/verb/Start_Music()
for(var/mob/M in world)
M << sound('sound.ogg')

/mob/verb/Stop_Music()
????????


Thanks in advance,
Lcooper
You use the sound() to send null to every mob in the world.

Also, you should be looping through clients, since it's faster if you have lots of mobs.
In response to Andre-g1
Ok I'll try that. Thanks.
In response to Andre-g1
He can actually just do "world << sound()" instead.