Added GetGameFolderName() native
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40727
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user