ID:165968
 
I've got it to play music when the user logs in, but I have no Idea how to stop the music when they click join on the login screen.

src << sound("Smbtheme.mid",0)


is there anyway to close off the output of the music??
or just stop the song when they click join??
In response to Yami_Marik0
thanks, I had to use usr instead of src, because its in a proc but everything else worked great
In response to KirbyAllStar
KirbyAllStar wrote:
thanks, I had to use usr instead of src, because its in a proc but everything else worked great

In a proc you use src not usr, or rather I should say, just dont use usr.
In response to KirbyAllStar
No use usr in proc! Ugh...
In response to Dragon_fire6653
Actually it said that src is an undefined variable, when its in a proc
In response to KirbyAllStar
Show the snippet than? >_>

- GhostAnime
In response to KirbyAllStar
what you should do is pass the src/usr to the proc when it is called.

In response to GhostAnime
EDIT-Nevermind about this stuff, I redone all of my login and map stuff. But thanks for helping anyways.

Ok my next question is...
usr.frozen = 1               
usr.loc = locate(1,1,3)
usr.invisibility = 101

this is in a verb, is there a way to make this affect everyone in the game, not just the person using the verb?