Difference between revisions of "SendShowOrHideAllUIEvent"
From Nomad DB
Line 6: | Line 6: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* '''visible''' (number): 0 to disable and 1 to enable the HUD | * '''visible''' (number): 0 to disable and 1 to enable the HUD | ||
− | * '''Returns''' (boolean): | + | * '''Returns''' (boolean): Whether the call has been successful or not |
== Example == | == Example == |
Revision as of 14:55, 15 April 2020
Toggle the HUD visibility state
Syntax
SendShowOrHideAllUIEvent(visible)
- visible (number): 0 to disable and 1 to enable the HUD
- Returns (boolean): Whether the call has been successful or not
Example
The example below will disable my HUD
SendShowOrHideAllUIEvent(0)
The example below will enable my HUD
SendShowOrHideAllUIEvent(1)