Not accurate time in reaction test.
#2

use this
pawn Код:
new Float:timetaken=0,timerid;//at top

forward timer();
public timer()
{
timetaken+=0.1;
return 1;
}


timerid=SetTimer("timer",100,true);//this under on command text

KillTimer(timerid);//under when a player wins right at the start
timetaken=0;//under when a player wins at end of code when player wins
so now the time taken will be stored in timetaken in seconds
Reply


Messages In This Thread
Not accurate time in reaction test. - by SyntaxQ - 31.03.2014, 08:09
Re: Not accurate time in reaction test. - by BroZeus - 31.03.2014, 08:22

Forum Jump:


Users browsing this thread: 3 Guest(s)