added request amb285

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40828
This commit is contained in:
David Anderson
2007-05-21 01:54:17 +00:00
parent 459a9d41ba
commit 314e7097f8
2 changed files with 23 additions and 0 deletions
+11
View File
@@ -88,6 +88,17 @@ native KillTimer(Handle:timer, bool:autoClose=false);
*/
native TriggerTimer(Handle:timer, bool:reset=false);
/**
* Returns the simulated game time.
*
* @param simulated Retrieves whether or not the tick count
* is being manually simulated by SourceMod.
* This is the case if no players have joined
* the map yet.
* @return Time based on the game tick count.
*/
native Float:GetTickedTime(&bool:simulated);
/**
* Creates a timer associated with a new data pack, and returns the datapack.
* @note The datapack is automatically freed when the timer ends.