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