SetTimerEx or GetTickCount() ?
#8

Vince, can it be used like this?
pawn Код:
PlayerSpam[playerid] = GetTime();

stock IsPlayerSpamming(playerid)
{
    if(GetTime() - PlayerSpam[playerid] < 30000)
        return 1;

    return 0;
}
and is this better then the two other, in cases like this?
Reply


Messages In This Thread
SetTimerEx or GetTickCount() ? - by Richie - 30.01.2012, 15:23
Re: SetTimerEx or GetTickCount() ? - by Jochemd - 30.01.2012, 15:49
Re: SetTimerEx or GetTickCount() ? - by MP2 - 30.01.2012, 16:01
Re: SetTimerEx or GetTickCount() ? - by Richie - 30.01.2012, 16:36
Re: SetTimerEx or GetTickCount() ? - by Vince - 30.01.2012, 16:50
Re: SetTimerEx or GetTickCount() ? - by Roperr - 30.01.2012, 16:59
Re: SetTimerEx or GetTickCount() ? - by jamesbond007 - 30.01.2012, 17:05
Re: SetTimerEx or GetTickCount() ? - by Richie - 30.01.2012, 17:06
Re: SetTimerEx or GetTickCount() ? - by Vince - 30.01.2012, 17:13
Re: SetTimerEx or GetTickCount() ? - by Richie - 30.01.2012, 19:33

Forum Jump:


Users browsing this thread: 7 Guest(s)