plugins/include/timers.inc
changeset 2063 4b5761e0e3a3
parent 1952 b7aa2b626807
child 2289 44045ead61cd
     1.1 --- a/plugins/include/timers.inc	Tue May 20 02:51:02 2008 +0000
     1.2 +++ b/plugins/include/timers.inc	Tue May 20 05:39:37 2008 +0000
     1.3 @@ -153,6 +153,15 @@
     1.4  native bool:ExtendMapTimeLimit(time);
     1.5  
     1.6  /**
     1.7 + * Returns the number of seconds in between game server ticks.
     1.8 + *
     1.9 + * Note: A tick, in this context, is a frame.
    1.10 + *
    1.11 + * @return					Number of seconds in between ticks.
    1.12 + */
    1.13 +native Float:GetTickInterval();
    1.14 +
    1.15 +/**
    1.16   * Notification that the map's time left has changed via a change in the time 
    1.17   * limit or a change in the game rules (such as mp_restartgame).  This is useful 
    1.18   * for plugins trying to create timers based on the time left in the map.