- Documentation
- Client events
- onClientMapEnabledChange
Event
onClientMapEnabledChange
The server enabled or disabled the ESC map (setMapEnabled, setPlayerMapEnabled).
Handler
addEventHandler("onClientMapEnabledChange", root, function(enabled) ... end)Parameters
enabledbooltrue= map available.
Source
source is root.
Example
addEventHandler("onClientMapEnabledChange", root, function(enabled)
if not enabled then outputChatBox("Mapa została wyłączona.") end
end)