Erro in Script
#5

Quote:
Originally Posted by Eyce
Посмотреть сообщение
That's weird, it works fine for me. Here's what I have:
pawn Код:
#define     MAX_IDLE_TIME       15 // 15 minutes

new PlayerAfkTicks[MAX_PLAYERS];
new AFK[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    PlayerAfkTicks[playerid] = 0;
    AFK[MAX_PLAYERS];
    return 1;
}

public OnGameModeInit()
{
    SetTimer("OneSecond", 1000, 1);
    return 1;
}

forward OneSecond();
public OneSecond()
{
    for(new x = 0; x < MAX_PLAYERS; x++)
    {
        new maxtime = floatround((MAX_IDLE_TIME * 60), floatround_ceil);
        if(PlayerAfkTicks[x] >= maxtime)
        {
            AFK[x] = 1;
        }
    }
    return 1;
}
now
Код:
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
error 017: undefined symbol "CPS_AddCheckpoint"
Reply


Messages In This Thread
Erro in Script - by Granmilk - 05.09.2013, 03:57
Re: Erro in Script - by Eyce - 05.09.2013, 04:01
Re: Erro in Script - by Granmilk - 05.09.2013, 04:15
Re: Erro in Script - by Eyce - 05.09.2013, 04:32
Re: Erro in Script - by Granmilk - 05.09.2013, 04:46
Re: Erro in Script - by Eyce - 05.09.2013, 04:52

Forum Jump:


Users browsing this thread: 1 Guest(s)