Evil-Cod3r Posted March 5, 2012 Share Posted March 5, 2012 Hi all is there any function or event that if i have a music url can get it form any where like my music www.music.com/music1/ is there a function or event can get any url i put ? Link to comment
Evil-Cod3r Posted March 5, 2012 Author Share Posted March 5, 2012 is there any function or event that get any musice ulr i put? Link to comment
drk Posted March 5, 2012 Share Posted March 5, 2012 Huumm.. I can't understand. You want a function that get's music url that you put in a memo or play the music from the url you put? Link to comment
drk Posted March 5, 2012 Share Posted March 5, 2012 Yeah?? What? get's music url that you put in a memo or play the music from the url you put? Link to comment
Evil-Cod3r Posted March 5, 2012 Author Share Posted March 5, 2012 play the music from the url you put this Link to comment
drk Posted March 5, 2012 Share Posted March 5, 2012 If it's by a player types in a memo or other: memo = guiCreateMemo ( ... ) button = guiCreateButton ( ... ) addEventHandler ( 'onClientGUIClick',root, function ( ) if ( source == button ) then local url = guiGetText ( memo ) playSound ( url, false ) end end ) If it's by your url only use: playSound ( 'http://example.com', false ) Link to comment
Evil-Cod3r Posted March 5, 2012 Author Share Posted March 5, 2012 ok Thanx Darken again 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