[Pomoc]Radio


Započeo Richyâ„¢, Septembar 04, 2012, 16:56:24 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Nl
Detaljan opis problema:Pa ubacili smo cmd /radio i sve radi ali kad igrac napise /radio otvori se textdraw izaberec radio i dalje se nista ne desava
Dio skripte:
}
		if(dialogid == RADIO)
		{
			if(response)
			{
				if(listitem == 0) //
				{
				{
        		    	StopAudioStreamForPlayer(playerid);
        		    	PlayerPlaySound(playerid,1056,0.0,0.0,0.0);
                        PlayAudioStreamForPlayer(playerid, "http://balkan.dj.topstream.net:8070");
                        SendClientMessage(playerid, COLOR_GREY, "Sada slusas Balkan DJ Radio");
        		    }
				}

            if(listitem == 1) //
		    	{
				SendClientMessage(playerid, COLOR_GREY, "Ugasio si radio");
				StopAudioStreamForPlayer(playerid);
            }

		}
	}

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


Vegas.

if(dialogid == RADIO)
{
if(response)
{
if(listitem == 0) //
{
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, "http://balkan.dj.topstream.net:8070");
SendClientMessage(playerid, COLOR_GREY, "Sada slusas Balkan DJ Radio");
}
if(listitem == 1) //
{
SendClientMessage(playerid, COLOR_GREY, "Ugasio si radio");
StopAudioStreamForPlayer(playerid);
}
}
}