blurryshadow1 Posted March 19, 2011 Share Posted March 19, 2011 id like to have some music playing in the backround from when you join and pick your character, and then have it end once you press spawn. how can i do that? Link to comment
Castillo Posted March 19, 2011 Share Posted March 19, 2011 playSound stopSound and use this event handlers onClientResourceStart - to start the sound when the resource starts. Link to comment
blurryshadow1 Posted March 19, 2011 Author Share Posted March 19, 2011 ive got it all down, its just i cant figure out how to bind the stop button to the spawn button.... edit: i did it!!!!!! well i didnt bind it to the spawn button but i made it so that the music stops when you spawn this is actually my first script that i put together on my own thanks snake for helping. Link to comment
Castillo Posted March 20, 2011 Share Posted March 20, 2011 Well, it was really easy to "bind" it as you say, just adding stopSound(yourSoundElement) and voila! P.S: Congratz Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now