Class Selection music ?
#1

Hey, How do i put class selection music ?

And when i choose team/player whatever the music done

Thanks.
Reply
#2

Depends on where you want it to start. If you want to start the music as soon as someone joins the server, use PlayAudioStreamForPlayer or PlayerPlaySound, under OnPlayerConnect.
If you want to start it at any other point in the joining process, just use one of the 2 function provided above in the callback of your liking.
Reply
#3

I wanna when i connect it starts when i spawn it stopts
Reply
#4

Then under OnPlayerSpawn add either StopAudioStreamForPlayer, or if you used the other function use PlayerPlaySound, and add 1 to the sound id (if you was using i.e id 1009 for the music, use 1010 to stop the music).
Reply
#5

Hmm ok.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)