Tickcount

From SA-MP Wiki

Jump to: navigation, search

tickcount

Description:

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


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.

Return Values:

The number of milliseconds since start-up of the system. For a 32-bit cell, this count overflows after approximately 24 days of continuous operation.


More information

Pawn documentation (Page 9)

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

Personal tools