Added GetGameFolderName() native

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40727
This commit is contained in:
Scott Ehlert
2007-05-02 19:33:51 +00:00
parent 5c6ba68e4b
commit 3cdd3c0d0d
2 changed files with 21 additions and 0 deletions
+10
View File
@@ -314,6 +314,16 @@ native Float:GetGameTime();
*/
native GetGameDescription(String:buffer[], maxlength, bool:original=false);
/**
* Returns the name of the game's directory.
*
* @param buffer Buffer to store the directory name.
* @param maxlength Maximum size of the buffer.
*
* return Number of bytes written to the buffer (UTF-8 safe).
*/
native GetGameFolderName(String:buffer[], maxlength);
/**
* Returns the current map name.
*