Dialog behaves odd
#2

Neither works with:

Код:
if(dialogid == 91)
	{
	    if(response)
	    {
			new
			TotalList[512],
			TmpAch[32];
			new namestring[128];
			switch(PlayerInfo[sl[playerid]][LB])
			{
    			case 0: TmpAch = "{B7B5B7}"; // Grijs
    			case 1: TmpAch = "{8BFF65}"; // Groen
			}
			strins(TmpAch, "Categorie B License\n", strlen(TmpAch));
			strins(TotalList, TmpAch, strlen(TotalList));
			switch(PlayerInfo[sl[playerid]][LA1])
			{
    			case 0: TmpAch = "{B7B5B7}"; // Grijs
    			case 1: TmpAch = "{8BFF65}"; // Groen
			}
			strins(TmpAch, "Categorie A1 License\n", strlen(TmpAch));
			strins(TotalList, TmpAch, strlen(TotalList));
			switch(PlayerInfo[sl[playerid]][LCE1])
			{
    			case 0: TmpAch = "{B7B5B7}"; // Grijs
    			case 1: TmpAch = "{8BFF65}"; // Groen
			}
			strins(TmpAch, "Categorie CE1 License\n", strlen(TmpAch));
			strins(TotalList, TmpAch, strlen(TotalList));
			switch(PlayerInfo[sl[playerid]][CTCE1])
			{
    			case 0: TmpAch = "{B7B5B7}"; // Grijs
    			case 1: TmpAch = "{8BFF65}"; // Groen
			}
			format(namestring, sizeof(namestring), "%s",GetPlayerNameEx(sl[playerid]));
			ShowPlayerDialog(sl[playerid],90,DIALOG_STYLE_LIST,namestring,TotalList,"Next","Cancel");
		}
		else
		{
		    return 1;
		}
		return 1;
	}
Reply


Messages In This Thread
Dialog behaves odd - by Ice-cup - 07.02.2011, 14:54
Re: Dialog behaves odd - by Ice-cup - 09.02.2011, 12:49

Forum Jump:


Users browsing this thread: 1 Guest(s)