AMX Mod X API Documentation

Signature
native get_modname(name[], len);
Description

Retrieves the name of the currently played mod.

Notes
  • This retrieves the short name of the mod. Example: for Counter-Strike,

    it will copy "cstrike" to the buffer.

Parameters
  • name Buffer to copy mod name to
  • len Maximum size of the buffer
Returns

Number of cells written to buffer

Назад
Верх