plugins/include/sourcemod.inc
changeset 886 649c859c2272
parent 873 a2136b3be10d
child 898 f8ff0a7cd037
     1.1 --- a/plugins/include/sourcemod.inc	Wed Jun 06 06:33:57 2007 +0000
     1.2 +++ b/plugins/include/sourcemod.inc	Wed Jun 06 16:40:30 2007 +0000
     1.3 @@ -281,9 +281,18 @@
     1.4   * @param key			Key to retrieve from the Keys section.
     1.5   * @param buffer		Destination string buffer.
     1.6   * @param maxlen		Maximum length of output string buffer.
     1.7 - * @return			True if key existed, false otherwise.
     1.8 + * @return				True if key existed, false otherwise.
     1.9   */
    1.10  native bool:GameConfGetKeyValue(Handle:gc, const String:key[], String:buffer[], maxlen);
    1.11  
    1.12 +/**
    1.13 + * Returns the operating system's "tick count," which is a number of 
    1.14 + * milliseconds since the operating system loaded.  This can be used
    1.15 + * for basic benchmarks.
    1.16 + *
    1.17 + * @return				Tick count in milliseconds.
    1.18 + */
    1.19 +native GetSysTickCount();
    1.20 +
    1.21  #include <helpers>
    1.22  #include <entity>