ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client events
  3. onClientMapEnabledChange

Event

onClientMapEnabledChange

ClientWorldTrilogy Hub only

The server enabled or disabled the ESC map (setMapEnabled, setPlayerMapEnabled).

Handler

addEventHandler("onClientMapEnabledChange", root, function(enabled) ... end)

Parameters

enabledbool
true = map available.

Source

source is root.

Example

addEventHandler("onClientMapEnabledChange", root, function(enabled)
    if not enabled then outputChatBox("Mapa została wyłączona.") end
end)

See also