enzopaul4 Posted October 9, 2016 Share Posted October 9, 2016 (edited) Hi , i want to make in my login panel a song , like i put the song in folder "loginpanel" and than the song need to be in game Edited October 9, 2016 by enzopaul4 . Link to comment
swag_k_dog Posted October 9, 2016 Share Posted October 9, 2016 6 minutes ago, enzopaul4 said: Hi , i want to make in my login panel a song , like i put the song in folder "loginpanel" and than the song need to be in game you can add function which will playSound3D when set the event handler when the resource starts, and just use stopSound on a button click Link to comment
Mr.Loki Posted October 9, 2016 Share Posted October 9, 2016 you also have to add the song to the meta.xml <file src="song.mp3"/> Link to comment
Gravestone Posted October 10, 2016 Share Posted October 10, 2016 12 hours ago, swag_k_dog said: you can add function which will playSound3D when set the event handler when the resource starts, and just use stopSound on a button click PlaySound3D would play a 3rd dimensional sounds which means players near the sound position would be able to hear the sound too and if multiple players join then the sounds will get merged, So PlaySound3D is a bad option, use PlaySound and StopSound onPlayerLogin. You'll have to trigger an event client side from server side because you can't check the login from client. 1 Link to comment
enzopaul4 Posted October 12, 2016 Author Share Posted October 12, 2016 Thank you for helpppp! Link to comment
Gravestone Posted October 12, 2016 Share Posted October 12, 2016 3 minutes ago, enzopaul4 said: Thank you for helpppp! No problem. Link to comment
Storm-Hanma Posted October 25, 2016 Share Posted October 25, 2016 Its easy as i think p! See u need to make meta,Luna and a song file with mp3 format and merge them in a zip and run them if u didnt get anyidea u can check community there is a resource called joinsound!! Be happy On 10/10/2016 at 8:33 AM, Gravestone said: PlaySound3D would play a 3rd dimensional sounds which means players near the sound position would be able to hear the sound too and if multiple players join then the sounds will get merged, So PlaySound3D is a bad option, use PlaySound and StopSound onPlayerLogin. You'll have to trigger an event client side from server side because you can't check the login from client. Yes p playsound3d mostlu use for bases or speakers !! Better try for playsound only !! And song file must be mp3 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