[Ajuda] Erro com Array
#2

pawn Код:
enum pDados
{
    pNivelAdm,
    bool:pTrabalho,
    pDinheiro,
    pPontos
}

new ArrayDados[MAX_PLAYERS][pDados];
a de baixo
pawn Код:
public OnPlayerConnect(playerid)
{
    if(ArrayDados[playerid][pNivelAdm] > 0)
    {
        new name[MAX_PLAYER_NAME], string[128];
        GetPlayerName(playerid, name, sizeof(name));
        format(string, sizeof(string), "O Admin %s acabou de se conectar!!!", name);
        SendClientMessageToAll(COR_AZUL, string);
    }
    return 1;
}
Reply


Messages In This Thread
Erro com Array - by 8235Danilo - 07.12.2013, 16:01
Re: Erro com Array - by GM_KoDi - 07.12.2013, 16:08
Re: Erro com Array - by 8235Danilo - 07.12.2013, 16:09
Re: Erro com Array - by GM_KoDi - 07.12.2013, 16:14
Re: Erro com Array - by 8235Danilo - 07.12.2013, 16:16
Re: Erro com Array - by yiakin - 07.12.2013, 16:32
Re: Erro com Array - by GM_KoDi - 07.12.2013, 16:38

Forum Jump:


Users browsing this thread: 2 Guest(s)