Skip to content

engine.GetMapName

Get the current map name.

Syntax

string engine.GetMapName()

Parameters

This function has no parameters.

Return value

The function returns a string of the current map name.

Example

local name = engine.GetMapName();

print(name);