- Documentation
- Server functions
- getMapName
Function
getMapName
Returns the map name set with setMapName.
Syntax
string getMapName()Differences from MTA:SA
- In MTA:SA this function is client-side only.
In MTA:SA
getMapName()Returns
The map name, or false.
Example
outputServerLog("Mapa: " .. tostring(getMapName()))