[Ajuda] Erros ;(
#1

pawn Код:
CMD:admins(playerid,params[])
{
    new Nome[24];
    GetPlayerName(playerid, Nome,sizeof(Nome));
    if(PlayerInfo[playerid][pAdmin] < 1) return 1;
    new String2[500]; new String[500]; new Nomear[50];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(PlayerInfo[i][pAdmin] < 1)
        {
            if(PlayerInfo[i][pAdmin] == 1) Nomear = "Moderador Global";
            if(PlayerInfo[i][pAdmin] == 2) Nomear = "Administrador";
            if(PlayerInfo[i][pAdmin] == 3) Nomear = "Admin De Confianзa";
            if(PlayerInfo[i][pAdmin] == 4) Nomear = "Master";
            if(PlayerInfo[i][pAdmin] == 5) Nomear = "Dono";
            format(String,sizeof(String),"{FF0000}Nick: {FFFFFF}%s {FF0000}ID: {FFFFFF}%d {FF0000}Rank: {FFFFFF}%s\n",Nome(i),i,Nomear); // erro aqui ;( todos ;(
            strcat(String2,String,sizeof(String2));
        }
    }
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
        format(String,sizeof(String),"{FF0000}Nenhum(a) Administrador(a) Online!");
        Msg(playerid, ROSA,String);
    }
  return 1;
}
pawn Код:
(929) : error 012: invalid function call, not a valid address
(929) : warning 215: expression has no effect
(929) : error 001: expected token: ";", but found ")"
(929) : error 029: invalid expression, assumed zero
(929) : fatal error 107: too many error messages on one line
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: 2 Guest(s)