Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(dialogid == 170) {
- if(!response) return 1;
- new carid = GetPlayerVehicleID(playerid);
- PlayerRadio[playerid] = 1;
- switch(listitem) {
- case 0: {
- StopAudioStreamForPlayer(playerid);
- CarRadio[carid] = 0;
- SendClientMessage(playerid, COLOR_WHITE, "Ai oprit radio-ul.");
- }
- case 1: {
- PlayAudioStreamForPlayer(playerid, "http://live.radiotaraf.com:8181");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Taraf Romania!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 1;
- }
- case 2: {
- PlayAudioStreamForPlayer(playerid, "http://radiofunky.ro/live.pls");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Funky Manele!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 2;
- }
- case 3: {
- PlayAudioStreamForPlayer(playerid, "http://live.radiogangsta.ro:8800");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Gangsta Manele!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 3;
- }
- case 4: {
- PlayAudioStreamForPlayer(playerid, "http://dance.radiogangsta.ro:8800");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Gangsta Dance!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 4;
- }
- case 5: {
- PlayAudioStreamForPlayer(playerid, "http://rbandit.dyndns.tv:8000");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Bandit Romania!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 5;
- }
- case 6: {
- PlayAudioStreamForPlayer(playerid, "http://live.radiohot.ro:8000");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Hot Romania!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 6;
- }
- case 7: {
- PlayAudioStreamForPlayer(playerid, "http://www.radiotequila.ro/hiphop.m3u");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Tequila HipHop!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 7;
- }
- case 8: {
- PlayAudioStreamForPlayer(playerid, "http://80.86.106.136/listen.pls");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Kiss FM!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 8;
- }
- case 9: {
- PlayAudioStreamForPlayer(playerid, "http://stream.radiozu.ro:8020");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul ZU Romania!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 9;
- }
- case 10: {
- PlayAudioStreamForPlayer(playerid, "http://nextgen.go.ro:8012");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Greu de Difuzat!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 10;
- }
- case 11: {
- PlayAudioStreamForPlayer(playerid, "http://stream.profm.ro:8012/profm.mp3");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Pro FM!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 11;
- }
- case 12: {
- PlayAudioStreamForPlayer(playerid, "http://live.radioclubmix.ro:9999");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul ClubMix!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 12;
- }
- case 13: {
- PlayAudioStreamForPlayer(playerid, "http://livemp3.radiopopular.ro:7777");
- new text[256];
- format(text, sizeof(text), "* %s asculta acum radio-ul Popular!", GetNameEx(playerid));
- ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
- CarRadio[carid] = 13;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment