04.02.2010, 16:44
From https://sampwiki.blast.hk/wiki/Tickcount
tickcount(&granularity=0)
&granularity=0 Upon return, this value contains the number of ticks that the internal system time will tick per second. This value therefore indicates the accuracy of the return value of this function.
Returns The number of milliseconds since start-up of the system. For a 32-bit cell, this count overfows after approximately 24 days of continuous operation.
so you want the return, no the granularity.
tickcount(&granularity=0)
&granularity=0 Upon return, this value contains the number of ticks that the internal system time will tick per second. This value therefore indicates the accuracy of the return value of this function.
Returns The number of milliseconds since start-up of the system. For a 32-bit cell, this count overfows after approximately 24 days of continuous operation.
so you want the return, no the granularity.
Quote:
Originally Posted by Dark_Kostas
I tried to use tickcount, but it always returns 1000.
pawn Код:
|