plugins/include/sourcemod.inc
changeset 721 4cc4debb70c1
parent 718 8a5d1da7dd18
child 723 60395a16ddea
     1.1 --- a/plugins/include/sourcemod.inc	Wed May 02 19:20:34 2007 +0000
     1.2 +++ b/plugins/include/sourcemod.inc	Wed May 02 19:33:51 2007 +0000
     1.3 @@ -315,6 +315,16 @@
     1.4  native GetGameDescription(String:buffer[], maxlength, bool:original=false);
     1.5  
     1.6  /**
     1.7 + * Returns the name of the game's directory.
     1.8 + *
     1.9 + * @param buffer		Buffer to store the directory name.
    1.10 + * @param maxlength		Maximum size of the buffer.
    1.11 + *
    1.12 + * return				Number of bytes written to the buffer (UTF-8 safe).
    1.13 + */
    1.14 +native GetGameFolderName(String:buffer[], maxlength);
    1.15 +
    1.16 +/**
    1.17   * Returns the current map name.
    1.18   *
    1.19   * @param buffer		Buffer to store map name.