Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. function toggle_webvisibility")()
  2.     AddPlayerChat("In toggle_webvisibility") -- debug
  3.     AddPlayerChat(GetWebVisibility(WebGuiId)) -- debug
  4.     if GetWebVisibility(WebGuiId) == WEB_HIDDEN then
  5.         AddPlayerChat("web was hidden now visible") -- debug
  6.         SetWebVisibility(EditorGui, WEB_VISIBLE)
  7.         --ShowMapEditor = true
  8.     else
  9.         AddPlayerChat("Hiding map editor") -- debug
  10.         SetWebVisibility(EditorGui, WEB_VISIBLE)
  11.         SetWebVisibility(EditorGui, WEB_HIDDEN)
  12.         --ShowMapEditor = false
  13.     end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement