GetServerTickRate
Description:
Function GetServerTickRate gets the tick rate (like FPS) of the server.
Function GetServerTickRate was added in 0.3z and will not work in earlier versions! |
Parameters:
(This function has no parameters.)
Return Values:
The server tick rate (per second). Returns 0 when the server is just started.
Examples:
printf("The current server tick rate is: %i", GetServerTickRate());
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- GetNetworkStats: Gets the servers networkstats and saves it into a string.