SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Zdarzenia klienta
  3. onClientMapEnabledChange

Zdarzenie

onClientMapEnabledChange

KlientŚwiatTylko Trilogy Hub

Serwer włączył albo wyłączył mapę pod ESC (setMapEnabled, setPlayerMapEnabled).

Obsługa

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

Parametry

enabledbool
true = 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)

Zobacz też