[POMOC]Radio

Započeo Pijaツ, Mart 20, 2013, 21:29:35 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Balkan Extazy
Detaljan opis problema:di treba ici kod za radio?
Dio skripte:Želim iz Balkan Extazya u svoj mod prebaciti radio di treba ici taj dio i da li je moguce?


}

    if(dialogid == DIALOG_RADIOPLAY)
        {
        if(response)
        {
        if(listitem == 0)
	    {
	    PlayAudioStreamForPlayer(playerid, "http://streaming.tdiradio.com:9000");
	    GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta TDI RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        radio1++;
		}
		if(listitem == 1)
		{
		PlayAudioStreamForPlayer(playerid, "http://radioas32.streaming.rs:9520");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO AS (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        radio2++;
		}
        if(listitem == 2)
		{
		PlayAudioStreamForPlayer(playerid, "http://live3.okradio.net:8002");
		radio3++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO OK (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
        if(listitem == 3)
		{
		PlayAudioStreamForPlayer(playerid, "http://sh1.beotel.net:8002");
		radio4++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta SH BEOTEL RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 4)
		{
		PlayAudioStreamForPlayer(playerid, "http://radio.beotel.net:8000");
		radio5++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta BEOTEL RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 5)
		{
		PlayAudioStreamForPlayer(playerid, "http://live.indexradio.com:8879");
		radio6++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta INDEX RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 6)
		{
		PlayAudioStreamForPlayer(playerid, "http://xs3.b92.net:7999/radio-b92.mp3");
		radio7++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO B92 (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 7)
		{
		radio8++;
		PlayAudioStreamForPlayer(playerid, "http://extra.topstream.net:5036");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO EXTRA (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 8)
		{
		radio9++;
		PlayAudioStreamForPlayer(playerid, "http://jellyradio.com:8000");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta JELLY RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 9)
		{
		radio10++;
		PlayAudioStreamForPlayer(playerid, "http://109.206.96.11:8000");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta TOPFM RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 10)
		{
		radio11++;
		PlayAudioStreamForPlayer(playerid, "http://78.129.199.49:12100");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO MORAVA (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 11)
		{
		radio12++;
		PlayAudioStreamForPlayer(playerid, "http://176.9.66.104:8866/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO LJUBIC (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 12)
		{
		radio13++;
		PlayAudioStreamForPlayer(playerid, "http://89.149.245.235/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta PINK RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 13)
		{
		radio14++;
		PlayAudioStreamForPlayer(playerid, "http://rtvmerak.com:8003/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta JUZNI VETAR RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 14)
		{
		radio15++;
		PlayAudioStreamForPlayer(playerid, "http://213.239.205.210:6020/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO COOL (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 15)
		{
		radio16++;
        PlayAudioStreamForPlayer(playerid, "http://184.107.47.33:5465");
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO BALKAN EXTAZY (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        }
		if(listitem == 16)
		{
        PlayAudioStreamForPlayer(playerid, "RADIO OFF");
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s gasi svoj radio prijemnik ( /radioplay ).", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        }
    }




Neke slike/video za lakse dobivanje pomoci(neobavezno):...

Ovo ide pod OnDialogResponse:
if(dialogid == DIALOG_RADIOPLAY)
        {
        if(response)
        {
        if(listitem == 0)
	    {
	    PlayAudioStreamForPlayer(playerid, "http://streaming.tdiradio.com:9000");
	    GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta TDI RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        radio1++;
		}
		if(listitem == 1)
		{
		PlayAudioStreamForPlayer(playerid, "http://radioas32.streaming.rs:9520");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO AS (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        radio2++;
		}
        if(listitem == 2)
		{
		PlayAudioStreamForPlayer(playerid, "http://live3.okradio.net:8002");
		radio3++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO OK (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
        if(listitem == 3)
		{
		PlayAudioStreamForPlayer(playerid, "http://sh1.beotel.net:8002");
		radio4++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta SH BEOTEL RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 4)
		{
		PlayAudioStreamForPlayer(playerid, "http://radio.beotel.net:8000");
		radio5++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta BEOTEL RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 5)
		{
		PlayAudioStreamForPlayer(playerid, "http://live.indexradio.com:8879");
		radio6++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta INDEX RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 6)
		{
		PlayAudioStreamForPlayer(playerid, "http://xs3.b92.net:7999/radio-b92.mp3");
		radio7++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO B92 (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 7)
		{
		radio8++;
		PlayAudioStreamForPlayer(playerid, "http://extra.topstream.net:5036");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO EXTRA (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 8)
		{
		radio9++;
		PlayAudioStreamForPlayer(playerid, "http://jellyradio.com:8000");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta JELLY RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 9)
		{
		radio10++;
		PlayAudioStreamForPlayer(playerid, "http://109.206.96.11:8000");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta TOPFM RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 10)
		{
		radio11++;
		PlayAudioStreamForPlayer(playerid, "http://78.129.199.49:12100");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO MORAVA (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 11)
		{
		radio12++;
		PlayAudioStreamForPlayer(playerid, "http://176.9.66.104:8866/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO LJUBIC (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 12)
		{
		radio13++;
		PlayAudioStreamForPlayer(playerid, "http://89.149.245.235/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta PINK RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 13)
		{
		radio14++;
		PlayAudioStreamForPlayer(playerid, "http://rtvmerak.com:8003/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta JUZNI VETAR RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 14)
		{
		radio15++;
		PlayAudioStreamForPlayer(playerid, "http://213.239.205.210:6020/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO COOL (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 15)
		{
		radio16++;
        PlayAudioStreamForPlayer(playerid, "http://184.107.47.33:5465");
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO server uklonjen! (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        }
		if(listitem == 16)
		{
        PlayAudioStreamForPlayer(playerid, "RADIO OFF");
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s gasi svoj radio prijemnik ( /radioplay ).", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        }
    }


Negde na vrh moda stavi #define DIALOG_RADIOPLAY 5172

I u komandu za radio ubacis:
ShowPlayerDialog(playerid, DIALOG_RADIOPLAY, DIALOG_STYLE_LIST itd...
Izvinjavam se na svim glupostima i ako sam nekome napisao nesto lose, neko drugi je koristio moj profil!
__________________________________________
https://bk.gta.world - GTA World Balkan - RAGEMP

Citat: KopriVa poslato Mart 20, 2013, 21:34:00 POSLE PODNE
Ovo ide pod OnDialogResponse:
if(dialogid == DIALOG_RADIOPLAY)
        {
        if(response)
        {
        if(listitem == 0)
	    {
	    PlayAudioStreamForPlayer(playerid, "http://streaming.tdiradio.com:9000");
	    GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta TDI RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        radio1++;
		}
		if(listitem == 1)
		{
		PlayAudioStreamForPlayer(playerid, "http://radioas32.streaming.rs:9520");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO AS (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        radio2++;
		}
        if(listitem == 2)
		{
		PlayAudioStreamForPlayer(playerid, "http://live3.okradio.net:8002");
		radio3++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO OK (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
        if(listitem == 3)
		{
		PlayAudioStreamForPlayer(playerid, "http://sh1.beotel.net:8002");
		radio4++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta SH BEOTEL RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 4)
		{
		PlayAudioStreamForPlayer(playerid, "http://radio.beotel.net:8000");
		radio5++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta BEOTEL RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 5)
		{
		PlayAudioStreamForPlayer(playerid, "http://live.indexradio.com:8879");
		radio6++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta INDEX RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 6)
		{
		PlayAudioStreamForPlayer(playerid, "http://xs3.b92.net:7999/radio-b92.mp3");
		radio7++;
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO B92 (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 7)
		{
		radio8++;
		PlayAudioStreamForPlayer(playerid, "http://extra.topstream.net:5036");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO EXTRA (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 8)
		{
		radio9++;
		PlayAudioStreamForPlayer(playerid, "http://jellyradio.com:8000");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta JELLY RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 9)
		{
		radio10++;
		PlayAudioStreamForPlayer(playerid, "http://109.206.96.11:8000");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta TOPFM RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 10)
		{
		radio11++;
		PlayAudioStreamForPlayer(playerid, "http://78.129.199.49:12100");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO MORAVA (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 11)
		{
		radio12++;
		PlayAudioStreamForPlayer(playerid, "http://176.9.66.104:8866/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO LJUBIC (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 12)
		{
		radio13++;
		PlayAudioStreamForPlayer(playerid, "http://89.149.245.235/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta PINK RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 13)
		{
		radio14++;
		PlayAudioStreamForPlayer(playerid, "http://rtvmerak.com:8003/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta JUZNI VETAR RADIO (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 14)
		{
		radio15++;
		PlayAudioStreamForPlayer(playerid, "http://213.239.205.210:6020/listen.pls");
		GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO COOL (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
		}
		if(listitem == 15)
		{
		radio16++;
        PlayAudioStreamForPlayer(playerid, "http://184.107.47.33:5465");
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s pali svoj radio prijemnik i pusta RADIO server uklonjen! (/radioplay) .", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        }
		if(listitem == 16)
		{
        PlayAudioStreamForPlayer(playerid, "RADIO OFF");
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s gasi svoj radio prijemnik ( /radioplay ).", sendername);
        ProxDetector(30.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
        }
    }


Negde na vrh moda stavi #define DIALOG_RADIOPLAY 5172

I u komandu za radio ubacis:
ShowPlayerDialog(playerid, DIALOG_RADIOPLAY, DIALOG_STYLE_LIST itd...


odreÄ'ena linija ili bitno da je na vrhu?

Pri vrhu negde,gde su ti ostale definicije(#define)
Izvinjavam se na svim glupostima i ako sam nekome napisao nesto lose, neko drugi je koristio moj profil!
__________________________________________
https://bk.gta.world - GTA World Balkan - RAGEMP

Citat: KopriVa poslato Mart 20, 2013, 21:39:10 POSLE PODNE
Pri vrhu negde,gde su ti ostale definicije(#define)

ok ali di trebam staviti ovo za komandu i to ja sam biram komandu?

Citat: Pijaãƒ,, poslato Mart 20, 2013, 21:39:43 POSLE PODNE
Citat: KopriVa poslato Mart 20, 2013, 21:39:10 POSLE PODNE
Pri vrhu negde,gde su ti ostale definicije(#define)

ok ali di trebam staviti ovo za komandu i to ja sam biram komandu?

Naprvis komandu,ubacis lepo dijalog u nju,ja sam ti zapoceo tamo ti zavrsi,koliko vidim treba da imas 16 stavka u dijalogu.
Izvinjavam se na svim glupostima i ako sam nekome napisao nesto lose, neko drugi je koristio moj profil!
__________________________________________
https://bk.gta.world - GTA World Balkan - RAGEMP

Citat: KopriVa poslato Mart 20, 2013, 21:42:55 POSLE PODNE
Citat: Pijaãƒ,, poslato Mart 20, 2013, 21:39:43 POSLE PODNE
Citat: KopriVa poslato Mart 20, 2013, 21:39:10 POSLE PODNE
Pri vrhu negde,gde su ti ostale definicije(#define)

ok ali di trebam staviti ovo za komandu i to ja sam biram komandu?

Naprvis komandu,ubacis lepo dijalog u nju,ja sam ti zapoceo tamo ti zavrsi,koliko vidim treba da imas 16 stavka u dijalogu.

Sorry,neshvatam ako mozes da napravis korake pa da postaš ovdje kako di trebam šta stavit..:S aj molim te ak ti nije bed

Pod ostale komande
   
if (strcmp("/radio", cmdtext, true, 10) == 0)
	{
	    if(PlayerInfo[playerid][pAdmin] >= 1)
	    {
	   ShowPlayerDialog(playerid,99559,DIALOG_STYLE_LIST,"Admin spawn:","Radio 1\nRadio 2","Odaberi","Odustani");
		return 1;
		}
		else
		{
		    SendClientMessage(playerid, COLOR_WHITE, "Nisi ovlasten");
		}
		return 1;
	}

Pod ondialogresponse
if(dialogid == 99559)
		{
	    if(response)
		{
			if(listitem ==0)
				{
				SendClientMessage(playerid, 0xFF330000, "Balkan DJ");
				PlayAudioStreamForPlayer(playerid, "http://balkan.dj.topstream.net:8070/");
				}
				if(listitem == 1)
				{
SendClientMessage(playerid, 0xFF330000, "Underground FG ");
                         PlayAudioStreamForPlayer(playerid, "http://www.radiofg.com/streams/fgu.pls");
				}
	/*
	if(listitem == 2)//Ako hoces jos radio stanica kopiraj od mojis stranica
				{//
SendClientMessage(playerid, 0xFF330000, "Tvoj naziv");
                         PlayAudioStreamForPlayer(playerid, "Link");
				}
	
	*/
	}
	return 1;
}

Ako bude stekalo javi



to mi se pojavljuje sto to treba znacit??

JC

*

Mozes li staviti video kako postaviti radio stvarno bis mi puno pomogao..Pocetnik sam pa se polako snalazim