added amb1685 - GetTickInterval()

--HG--
branch : sourcemod-1.0.x
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.x%402213
This commit is contained in:
David Anderson
2008-05-29 03:59:00 +00:00
parent 6c0325d7d8
commit 0a4a60fe08
2 changed files with 16 additions and 1 deletions
+9
View File
@@ -152,6 +152,15 @@ native bool:GetMapTimeLimit(&time);
*/
native bool:ExtendMapTimeLimit(time);
/**
* Returns the number of seconds in between game server ticks.
*
* Note: A tick, in this context, is a frame.
*
* @return Number of seconds in between ticks.
*/
native Float:GetTickInterval();
/**
* Notification that the map's time left has changed via a change in the time
* limit or a change in the game rules (such as mp_restartgame). This is useful