How can I detect when "Hide UI" mode is used?

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
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?

#1

Post by KINGTUT10101 »

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?

User avatar
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?

#2

Post by Lobby »

You can use this :teach

Code: Select all

if not TheoTown.SETTINGS.hideUI then
  -- Draw your stuff
end

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”