get_modname
- Синтаксис
-
native get_modname(name[], len);
Переменная | Описание |
---|---|
name |
Buffer to copy mod name to |
len |
Maximum size of the buffer |
- Описание
- Retrieves the name of the currently played mod.
- Пометка
-
This retrieves the short name of the mod. Example: for Counter-Strike, it will copy "cstrike" to the buffer.
- Возвращает
- Number of cells written to buffer