Dialog error
#5

Quote:
Originally Posted by Rob_Maate
Посмотреть сообщение
Post the code you use to display the dialogs.


Код:
	if(strcmp(cmdtext,"/sc",true)==0)
	{
	    ShowPlayerDialog(playerid,500,DIALOG_STYLE_LIST,"Server Control:","Tijd\nWeer\nZwaartekracht\nSkins\nGeld\nServer Herstarten\nSever Afsluiten","Kies","Annuleren");
	    return 1;
	}
Код:
	if(dialogid==500 && response==1)
	{
    	switch(listitem)
    	{
        	case 0:
        	{
	    		ShowPlayerDialog(playerid,501,DIALOG_STYLE_LIST,"Tijd:","00:00\n03:00\n06:00\n09:00\n12:00\n15:00\n18:00\n21:00","Kies","Annuleren");
        	}
        	case 1:
        	{
	    		ShowPlayerDialog(playerid,502,DIALOG_STYLE_LIST,"Weer:","Storm\nMistig\nheet\nZandstorm\nGrijsachtig\nRegen","Kies","Annuleren");
        	}
        	case 2:
        	{
	    		ShowPlayerDialog(playerid,503,DIALOG_STYLE_LIST,"Zwaartekracht:","-0.004\n0.000\n0.004\n0.008 (Standaart)\n0.012\n0.016\n0.018\n0.032","Kies","Annuleren");
        	}
        	case 3:
        	{
	    		ShowPlayerDialog(playerid,504,DIALOG_STYLE_LIST,"Skin:","Skin 1\nSkin 2\nSkin 3\nSkin 4\nSkin 5\nSkin 6\nSkin 7\nSkin 8\nSkin 9\nSkin 10","Kies","Annuleren");
        	}
        	case 4:
        	{
				ShowPlayerDialog(playerid,505,DIALOG_STYLE_LIST,"Geld:","$100\n$1000\n$10000\n$100000\n$1000000\n$10000000","Kies","Annuleren");
        	}
			case 5:
			{
    			ShowPlayerDialog(playerid,700,DIALOG_STYLE_MSGBOX,"Server Herstarten","Weet je zeker dat je de server wilt herstarten?","Ja","Nee");
			}
			case 6:
			{
	    		ShowPlayerDialog(playerid,701,DIALOG_STYLE_MSGBOX,"Server Afsluiten","Weet je zeker dat je de server wilt afsluiten?","Ja","Nee");
			}
    	}
	}
everyting works only that not
Reply


Messages In This Thread
Dialog error - by MathijsS - 26.11.2011, 12:47
Re: Dialog error - by eDz0r - 26.11.2011, 12:49
Re: Dialog error - by MathijsS - 26.11.2011, 12:51
Re: Dialog error - by Rob_Maate - 26.11.2011, 12:52
Re: Dialog error - by MathijsS - 26.11.2011, 12:53
Re: Dialog error - by MathijsS - 26.11.2011, 13:02
Re: Dialog error - by Unte99 - 26.11.2011, 13:23
Re: Dialog error - by MathijsS - 26.11.2011, 15:21

Forum Jump:


Users browsing this thread: 3 Guest(s)