Tickcount

From SA-MP Wiki

Jump to: navigation, search

Tickcount


This function can be used as a replacement for GetTickCount, as it returns the number of milliseconds since the start-up.


Parameters:
(&granularity=0)
&granularity=0Upon 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.
ReturnsThe number of milliseconds since start-up of the system. For a 32-bit cell, this count overfows after approximately 24 days of continuous operation.


More information

Pawn documentation (Page 9)

Personal tools