- Dokumentacja
- Zdarzenia klienta
- onClientMapEnabledChange
Zdarzenie
onClientMapEnabledChange
Serwer włączył albo wyłączył mapę pod ESC (setMapEnabled, setPlayerMapEnabled).
Obsługa
addEventHandler("onClientMapEnabledChange", root, function(enabled) ... end)Parametry
enabledbooltrue= mapa dostępna.
Źródło
source to root.
Przykład
addEventHandler("onClientMapEnabledChange", root, function(enabled)
if not enabled then outputChatBox("Mapa została wyłączona.") end
end)