Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function toggle_webvisibility")()
- AddPlayerChat("In toggle_webvisibility") -- debug
- AddPlayerChat(GetWebVisibility(WebGuiId)) -- debug
- if GetWebVisibility(WebGuiId) == WEB_HIDDEN then
- AddPlayerChat("web was hidden now visible") -- debug
- SetWebVisibility(EditorGui, WEB_VISIBLE)
- --ShowMapEditor = true
- else
- AddPlayerChat("Hiding map editor") -- debug
- SetWebVisibility(EditorGui, WEB_VISIBLE)
- SetWebVisibility(EditorGui, WEB_HIDDEN)
- --ShowMapEditor = false
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement