[HELP]error 010: invalid function or declaration
#2

Well maybe if you indented it properly you'd see it.

Try this.

pawn Код:
stock Fresh()
{
    CheckHealth();
    CheckArmour();
    Update3dText();
    new hour, minute, second, tmphour, tmpminute, tmpsecond, strings[128];
    gettime(hour, minute, second);
    gettime(tmphour, tmpminute, tmpsecond);
    FixHour(tmphour);
    tmphour = shifthour;
    for(new i; i<MAX_PLAYERS)
    {
        playerData[i][pAFK] ++;
        if(playerData[i][pAFK] >= 3)
        {
            format(strings,32,"Игрок на паузе: %d секунд.", playerData[i][pAFK] - 2);
            SetPlayerChatBubble(i, strings, 0xFFFF00FF, 19.0, 1500);
        }
        if(IsPlayerConnected(i))
        {
            if(playerData[i][pMis] >= 3)
            {
                DelAdmin(i, playerData[i][pNames]);
            }
        }
    }
}
Reply


Messages In This Thread
[HELP]error 010: invalid function or declaration - by KingPersona - 22.02.2015, 18:51
Re: [HELP]error 010: invalid function or declaration - by Crayder - 22.02.2015, 18:57

Forum Jump:


Users browsing this thread: 3 Guest(s)