[Ajuda] Erros ;(
#8

Tenta aн
pawn Код:
CMD:admins(playerid,params[])
{
    new Nome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Nome,MAX_PLAYER_NAME);
    new String[128], String2[512], Nomear[24], bool:Found;

    for(new i; i < MAX_PLAYERS; i++)
    {
        if(PlayerInfo[i][pAdmin] > 0)
        {
            switch(PlayerInfo[i][pAdmin])
            {
                case 1: Nomear = "Moderador Global";
                case 2: Nomear = "Administrador";
                case 3: Nomear = "Admin De Confianзa";
                case 4: Nomear = "Master";
                case 5: Nomear = "Dono";
            }
            format(String,sizeof(String),"{FF0000}Nick: {FFFFFF}%s {FF0000}ID: {FFFFFF}%d {FF0000}Rank: {FFFFFF}%s\n",Nome(i),i,Nomear);
            strcat(String2,String,sizeof(String2));
            Found = true;            
        }
    }
    if(!Found)
    {
        format(String,sizeof(String),"{FF0000}Nenhum(a) Administrador(a) Online!");
        Msg(playerid, ROSA,String);
    }
    //else
        //ShowPlayerDialog
    return 1;
}
Reply


Messages In This Thread
Erros ;( - by Owtsiixx_Twd - 03.10.2012, 15:47
Re: Erros ;( - by arakuta - 03.10.2012, 15:54
Re: Erros ;( - by Owtsiixx_Twd - 03.10.2012, 16:00
Re: Erros ;( - by arakuta - 03.10.2012, 16:03
Re: Erros ;( - by Owtsiixx_Twd - 03.10.2012, 16:13
Re: Erros ;( - by mau.tito - 03.10.2012, 16:39
Re: Erros ;( - by Jason` - 03.10.2012, 16:43
Re: Erros ;( - by ViniBorn - 03.10.2012, 16:47
Re: Erros ;( - by Jason` - 03.10.2012, 16:50
Re: Erros ;( - by Owtsiixx_Twd - 03.10.2012, 17:07

Forum Jump:


Users browsing this thread: 1 Guest(s)