Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 21st, 2012  |  syntax: None  |  size: 0.45 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. new radiolist[][][] =
  2. {
  3.         {"181.fm The Buzz",     "http://yp.shoutcast.com/sbin/tunein-station.pls?id=37586"},
  4.         {"FM4",                 "http://yp.shoutcast.com/sbin/tunein-station.pls?id=581319"}
  5. };
  6.  
  7. CMD:setradio(playerid, params[])
  8. {
  9.         new list[500];
  10.         for(new i; i <= sizeof(radiolist); i++)
  11.         {
  12.                 format(list,sizeof(list),"%s\r\n",radiolist[i][0]);
  13.                 ShowPlayerDialog(playerid, DIALOG_STYLE_LIST, 123,"Radio",list,"Play","Cancel");
  14.         }
  15.         return 1;
  16. }