khalid-mks Posted January 26, 2015 Share Posted January 26, 2015 hello I have a radio on the Internet I've Mode making in the form of direct radio But when you gotta work Writes in F8 BASS ERROR 0 in PlayStream b3D = false path = http://xstraradio.listen2myradio.com/ my client local sound = "http://xstraradio.listen2myradio.com/" addEvent("startSound",true) addEvent("stopSound",true) function start ( ) isPlay = playSound( sound, true ) end addEventHandler("startSound", root, start) function stop ( ) stopSound( isPlay ); end addEventHandler("stopSound", root, stop) my server function startSound ( player ) if getElementData(player,"isRunning") == false then setElementData(player,"isRunning", true) triggerClientEvent( getRootElement( ), "startSound", getRootElement ( ) ) else setElementData(player,"isRunning", false) triggerClientEvent( getRootElement( ), "stopSound", getRootElement( ) ) end end addCommandHandler("sound", startSound) Waiting for help Thank you Link to comment
0 MTA Team ccw Posted January 26, 2015 MTA Team Share Posted January 26, 2015 You need to use the direct URL of the audio stream. Looking at the page source, it might be: "http://xstraradio.listen2myradio.com/media/playradio2504549.asx" If that doesn't work, ask Listen2MyRadio support. Link to comment
0 khalid-mks Posted January 27, 2015 Author Share Posted January 27, 2015 Is it necessary to have the radio : .ask ??? __________________________________________ If you know the site to open radio channels Supports .ask Give me Site I'll be grateful to you Link to comment
Question
khalid-mks
hello
I have a radio on the Internet
I've Mode making in the form of direct radio
But when you gotta work
Writes in F8
BASS ERROR 0 in PlayStream b3D = false path = http://xstraradio.listen2myradio.com/
my client
my server
Waiting for help
Thank you
Link to comment
2 answers to this question
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