[Ajuda] Problema com Dialog
#1

Код:
	{
		if(IsPlayerConnected(id))
 		{
	    	if(arrayPlayer[id][PLevel] >= 1 && arrayPlayer[id][PLevel] <= 4)
	    	{
				switch(arrayPlayer[id][PLevel])
				{
				    case 1:
				        admins = "Moderador";
					case 2:
					    admins = "Sub-Admin";
					case 3:
					    admins = "Admin";
					case 4:
					    admins = "Master";
				}
				GetPlayerName(id, nome, sizeof(nome));
	    	    format(string, sizeof(string), "\"%s\" (%d) = %s", nome, id, admins);
	    	    SendClientMessage(playerid, 0x86ff00ff, string);
        	    AON++;
			}
		}
	}
	ShowPlayerDialog(playerid, 3, DIALOG_STYLE_MSGBOX, " Admins:", string,"Ok","");
porque esse Dialog aparece apenas o ъltimo admin conectado, e nгo todos?
Reply


Messages In This Thread
[Ajuda] Problema com Dialog - by cotonete - 02.11.2011, 15:04
Re: [Ajuda] Problema com Dialog - by whiXґ - 02.11.2011, 15:07
Re: [Ajuda] Problema com Dialog - by cotonete - 02.11.2011, 15:11
Re: [Ajuda] Problema com Dialog - by whiXґ - 02.11.2011, 15:12
Re: [Ajuda] Problema com Dialog - by cotonete - 02.11.2011, 15:16
Re: [Ajuda] Problema com Dialog - by whiXґ - 02.11.2011, 15:21
Re: [Ajuda] Problema com Dialog - by [O.z]Caroline - 02.11.2011, 15:41

Forum Jump:


Users browsing this thread: 1 Guest(s)