[Pomoc] Radio


Započeo LoOdaK, Jul 28, 2016, 07:49:40 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: moja
Detaljan opis problema: neam problem nego pravim komandu radio i zanima me kako da stavim recimo tdi radio ili balkan dj radio preko kojeg linka ili sta vec
Dio skripte: nema
Neke slike/video za lakse dobivanje pomoci(neobavezno): isto nema
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Ovi defineovi su cisto da ti pokazem sta je sta :D

#define SPD   ShowPlayerDialog
#define DSL   DIALOG_STYLE_LIST


#define D_ODABERI 	"Potvrdi"
#define D_ODUSTANI 	"Odustani"


#define dialog_RADIOPLAY  243


#define SendInfoMessage(%0,%1) \
	SendClientMessageEx(%0, -1, "{306677}[INFO] {FFFFFF}"%1)


CMD:music( playerid, params[] ) {
	SPD( playerid, dialog_RADIOPLAY, DSL, "Radio", "BUM Radio\nB92 Radio\nAntena Radio\nJuzni Vetar\nCool Radio\nNaxi Radio\nPingvin Radio\nCarsija Radio\nRadio BN\nRadio M\nRadio Banovina\nRadio Super\nBalkan DJ\nD Plus\nOff Radio", D_ODABERI, D_ODUSTANI );
    return true;
}


else if( dialogid == dialog_RADIOPLAY ) {
		if( !response ) return true;
		if( response ) {
		    switch( listitem ) {
		        case 0: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://radio.bumbumradio.rs:8010" );
		            SendInfoMessage( playerid, "Pustili ste BUM radio." );
		        }
		        case 1: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://stream.b92.net:7999/radio-b92.mp3.m3u" );
		            SendInfoMessage( playerid, "Pustili ste B92 radio." );
		        }
		        case 2: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://94.23.38.225:7005" );
		            SendInfoMessage( playerid, "Pustili ste Antena radio." );
		        }
		        case 3: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://rtvmerak.com:8003" );
		            SendInfoMessage( playerid, "Pustili ste radio Juzni Vetar." );
		        }
		        case 4: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://176.9.30.66/listen.pls" );
		            SendInfoMessage( playerid, "Pustili ste Cool Radio." );
		        }
		        case 5: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://naxi128.streaming.rs:9150" );
		            SendInfoMessage( playerid, "Pustili ste Naxi Radio." );
		        }
		        case 6: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://50.7.70.66:8559" );
		            SendInfoMessage( playerid, "Pustili ste Pingvin Radio." );
		        }
		        case 7: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://carsija.topstream.net:19406" );
		            SendInfoMessage( playerid, "Pustili ste Carsija Radio." );
		        }
		        case 8: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://stream.rtvbn.com:8522" );
		            SendInfoMessage( playerid, "Pustili ste Radio BN." );
		        }
		        case 9: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://195.222.33.217:8026" );
		            SendInfoMessage( playerid, "Pustili ste Radio M." );
		        }
		        case 10: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://stream2.radio-banovina.hr:9996" );
		            SendInfoMessage( playerid, "Pustili ste Radio Banovina." );
		        }
		        case 11: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://88.198.53.74:9996" );
		            SendInfoMessage( playerid, "Pustili ste Radio Super." );
		        }
		        case 12: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://balkan.dj.topstream.net:8070" );
		            SendInfoMessage( playerid, "Pustili ste radio Balkan DJ." );
		        }
		        case 13: {
		            StopAudioStreamForPlayer( playerid );
		            PlayAudioStreamForPlayer( playerid, "http://myradiostream.com/2/30232.pls" );
		            SendInfoMessage( playerid, "Pustili ste radio D Plus." );
		        }
		        case 14: {
		            StopAudioStreamForPlayer( playerid );
		            SendInfoMessage( playerid, "Ugasili ste radio." );
		        }
			}
		}
	}



Ma lako cu ja za to muci me link kako dobiti link od radija?? to ne kontam (kad sam glup)
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Nmp, meni ako treba neka ja samo kucam "Ime Radia samp" i izadje mi neki link xD

Mislim da sam nasao nesto probacu pa javim HVALA
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!