Peršokti į turinį
Ginciuxzs

del radijos

Recommended Posts

Sveiki norejau paklausti ar sis FS veiktu ant 0.3e versijos?

#include 
#if defined FILTERSCRIPT

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/radija", cmdtext, true, 10) == 0) {
	ShowPlayerDialog(playerid, 1 , DIALOG_STYLE_LIST, "Selecciona la música", "The Time - Black     Eyed Peas\nWhere Them Girls At - David Guetta\nVive la vida loca - DJ\nWaka Waka - Shakira\nRight Round - Florida\nParar música", "Escuchar", "Cancelar");
       PlayerPlaySound(playerid,1056,0.0,0.0,0.0);
	return 1;
}
return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
   if(response) {
	switch(dialogid == 1)
       {
		case 1: {
          		switch(listitem)
       		{
       		    case 0: {
       		    	StopAudioStreamForPlayer(playerid);
       		    	PlayerPlaySound(playerid,1056,0.0,0.0,0.0);
                       PlayAudioStreamForPlayer(playerid, "http://www.youtube.com/watch?v=cNOP2t9FObw");
       		    }
       		    case 1: {
       		    	StopAudioStreamForPlayer(playerid);
       		    	PlayerPlaySound(playerid,1056,0.0,0.0,0.0);
                       PlayAudioStreamForPlayer(playerid, "http://www.youtube.com/watch?v=KM-1uO6tYrc");
       		    }
	    		case 2: {
       		    	StopAudioStreamForPlayer(playerid);
       		    	PlayerPlaySound(playerid,1056,0.0,0.0,0.0);
                       PlayAudioStreamForPlayer(playerid, "http://88.media.v4.skyrock.net/music/88e/81e/88e81e34f58873c2b9c4f0c253c64685.mp3");
       		    }
   				case 3: {
       		    	StopAudioStreamForPlayer(playerid);
       		    	PlayerPlaySound(playerid,1056,0.0,0.0,0.0);
                       PlayAudioStreamForPlayer(playerid, "http://4a.media.v4.skyrock.net/music/4a5/787/4a5787155c0bdf5cda57a83f20dad3d3.mp3");
       		    }
   				case 4: {
       		    	StopAudioStreamForPlayer(playerid);
       		    	PlayerPlaySound(playerid,1056,0.0,0.0,0.0);
                       PlayAudioStreamForPlayer(playerid, "http://www.degjo.com/upload/go/dldsegment1/(degjo.com)FloRida-Right%20Round.mp3");
       		    }
   				case 5: {
       		    	StopAudioStreamForPlayer(playerid);
       		    }
			}
		}
	}
}
return 1;
}
#endif

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį


Komentuoti gali tik prisijungę nariai

Jeigu turite paskyrą, prisijunkite

Sukurti paskyrą

Sukurkite paskyrą mūsų forume

Registruotis

Prisijungti

Turite paskyrą? Prisijunkite

Prisijungti dabar

  • Narių peržiūri šį forumą:   0 nariai

    Nėra registruotų narių peržiūrinčių šį forumą.


  • SuperGames programele
  • SuperGames programele


×