CB radio

by Cbgames
Display radio stations in your games
ID:126169
 
Basicly a simple iframe with select form which would show a radio station website.



var/CBradio/radio = new() // set as a gobal or client var

radio.displayRadio( client ) // to display the radio browser

radio.menu( client ) // to show a client a menu where they can add / remove stations

radio.addStation( "name" , "url" ) // add a station to personalized list

radio.removeStation( "name" ) // remove a station from the personalized list


//Don't like the default radio list?
//Here an example to replace it within your own code
CBradio
MyRadio
stations = list("Name1"="http://example.com",
"Name2"="http://example2.com",
"Name3"="http://example3.com",
"Name4"="http://example4.com",
"Name5"="http://example5.com")

var/CBradio/MyRadio/radio = new() // set as a gobal or client var


Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 2.0 UK: England & Wales License.

-- Christopher "Cbgames" Boland