get_modname
Syntax
native get_modname(name[], len);
Usage
| Parameter | Description |
|---|---|
| name | Buffer to copy mod name to |
| len | Maximum size of the buffer |
Description
Retrieves the name of the currently played mod.
Note
This retrieves the short name of the mod. Example: for Counter-Strike, it will copy "cstrike" to the buffer.
Return
Number of cells written to buffer