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