ID:158543
 
Hello everybody,

My question was how do you let music play at the login screen but when the person clicks new or load, the music stops playing.

Greetings, Raimo
src<<sound('file.wav') - This will play the sound.
src<<sound() - This will stop the sound.
In response to Superbike32
Superbike32 wrote:
src<<sound('file.wav') - This will play the sound.
src<<sound() - This will stop the sound.

and in where do i need to put that?
In response to Raimo
where you want sound to play and stop, obviously, if you want login make a login thing like this.

mob
Login()
..() //Places them on the map at default location.
src<<'file.extension' //src<<sound('file.extension') will also work.

and then hopefully you got the click buttons down, in the click code for the button add src<<sound() to stop the sound.
In response to Superbike32
Superbike32 wrote:
where you want sound to play and stop, obviously, if you want login make a login thing like this.

mob
Login()
..() //Places them on the map at default location.
src<<'file.extension' //src<<sound('file.extension') will also work.

and then hopefully you got the click buttons down, in the click code for the button add src<<sound() to stop the sound.

ok thanks