How can I detect when "Hide UI" mode is used?
Moderator: Plugin Moderators
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 2220
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
How can I detect when "Hide UI" mode is used?
I am making a plug-in that adds a new element to the players UI, but it doesn't disappear when Hide UI mode is used. How can I detect this mode so I can't hide the element?
- Lobby
- Developer
- Reactions:
- Posts: 3705
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: How can I detect when "Hide UI" mode is used?
You can use this
Code: Select all
if not TheoTown.SETTINGS.hideUI then
-- Draw your stuff
end