native
get_mapname
Syntax
native get_mapname(name[], len);
Description
Retrieves the name of the currently played map.
Parameters
| name | Buffer to copy map name to |
|---|---|
| len | Maximum buffer size |
Return
Number of cells written to buffer
native
native get_mapname(name[], len);
Retrieves the name of the currently played map.
| name | Buffer to copy map name to |
|---|---|
| len | Maximum buffer size |
Number of cells written to buffer