[Ajuda] Erro no fs
#2

Consertei os erros do seu cуdigo :


pawn Код:
new
    pIP[MAX_PLAYERS][16],
    pTime[MAX_PLAYERS];
   

public OnPlayerConnect(playerid)
{
    new
        playerIP[16],
        playerInteger[2];

    GetPlayerIp(playerid, playerIP, 16);
    playerInteger[0] = gettime() + 2;

    for(new i; i < MAX_PLAYERS; ++i)
    {
        if(pTime[i] && !strcmp(pIP[playerid], playerIP) && pTime[i] >= playerInteger[0])
        {
            if(++playerInteger[1] == 3)
                return BanEx(playerid, "FUCK OFF IDIOT, YOU SUCK.");
        }
    }

    strmid(pIP[playerid], playerIP, 0, 16, sizeof(pIP[]));
    return pTime[playerid] = playerInteger[0];
}


Espero ter ajudado .
Reply


Messages In This Thread
[Ajuda] Erro no fs - by GTO.DoDo - 13.02.2012, 12:27
Re: [Ajuda] Erro no fs - by rjjj - 13.02.2012, 12:32
Re: [Ajuda] Erro no fs - by GTO.DoDo - 13.02.2012, 13:02

Forum Jump:


Users browsing this thread: 1 Guest(s)