ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setMapName

Function

setMapName

ServerServerIdentical to MTA:SA

Stores the server's map name.

Syntax

bool setMapName(string mapName)

Arguments

mapNamestring
Map name, or false.

Returns

true on success.

Example

setMapName("San Andreas")

Notes

State for scripts. The launcher's server list does not show it yet.

See also