Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(radioTD[playerid] == 1)
- {
- if(!strcmp(text, "1", true))
- {
- PlayAudioStreamForPlayer(playerid,"http://cnr-radio.com/listen.m3u");
- return 0;
- }
- if(!strcmp(text, "2", true))
- {
- PlayAudioStreamForPlayer(playerid,"http://cnr-radio.com/listeneuro.m3u");
- return 0;
- }
- if(!strcmp(text, "3", true))
- {
- PlayAudioStreamForPlayer(playerid,"http://cnr-radio.com/listenasia.m3u");
- return 0;
- }
- if(!strcmp(text, "4", true))
- {
- StopAudioStreamForPlayer(playerid);
- SCM(playerid, COLOR_YELLOW,"Radio is Now Off");
- return 0;
- }
- else
- {
- SCM(playerid, COLOR_RED,"Invalid Selection.");
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement