GetServerTickRate

From SA-MP Wiki

Jump to: navigation, search


GetServerTickRate was added in SA-MP 0.3z This function was added in SA-MP 0.3z and will not work in earlier versions!


Description:

Gets the tick rate (like FPS) of the server.


Parameters:
This function has no parameters.


Return Values:

The server tick rate (per second). Returns 0 when the server is just started.


Example Usage:

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.
Personal tools
Navigation
Toolbox
In other languages