Advertisement
Guest User

Untitled

a guest
Jan 25th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. if(radioTD[playerid] == 1)
  2. {
  3. if(!strcmp(text, "1", true))
  4. {
  5. PlayAudioStreamForPlayer(playerid,"http://cnr-radio.com/listen.m3u");
  6. return 0;
  7. }
  8. if(!strcmp(text, "2", true))
  9. {
  10. PlayAudioStreamForPlayer(playerid,"http://cnr-radio.com/listeneuro.m3u");
  11. return 0;
  12. }
  13. if(!strcmp(text, "3", true))
  14. {
  15. PlayAudioStreamForPlayer(playerid,"http://cnr-radio.com/listenasia.m3u");
  16. return 0;
  17. }
  18. if(!strcmp(text, "4", true))
  19. {
  20. StopAudioStreamForPlayer(playerid);
  21. SCM(playerid, COLOR_YELLOW,"Radio is Now Off");
  22. return 0;
  23. }
  24. else
  25. {
  26. SCM(playerid, COLOR_RED,"Invalid Selection.");
  27. return 0;
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement