[Ajuda] Comando nao funciona
#1

o comando so aparece 1 adm online sendo q tem 6 adminstradores online como posso arruma ?

Код:
CMD:admins(playerid, params[])
{
    if(pLogado[playerid] == false)              				return SendClientMessage(playerid, CorErro, "Vocк precisa fazer Login primeiro.");
    SendClientMessage(playerid, 0x4682B4FF, "Administradores Online:");
    //
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		    if(PlayerInfo[i][pAdmin] > 0 && AparecendoNoAdmins[i] == true && pJogando[i] == false)
		    {
		        switch(PlayerInfo[i][pAdmin])
		        {
		            case 1: Motivo = "TEMPORБRIO";
		            case 2: Motivo = "LEVEL 2";
		            case 3: Motivo = "LEVEL 3";
		            case 4: Motivo = "LEVEL 4";
		            case 5: Motivo = "MASTER";
		            case 6: Motivo = "MБXIMO";
		            case 7: Motivo = "DONO";
				}
		 		format(Str, 256, "%s [%s]", pNomeOriginal[i], Motivo);
			    SendClientMessage(playerid, CinzaClaro, Str);
			}
	}
	return 1;
}
Reply


Messages In This Thread
Comando nao funciona - by VinnyScript - 11.02.2016, 15:32
Re: Comando nao funciona - by zSuYaNw - 11.02.2016, 15:42
Re: Comando nao funciona - by VinnyScript - 11.02.2016, 15:53
Re: Comando nao funciona - by Derritee1001 - 11.02.2016, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)