ShowHealthHUD: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|ShowHealthHUD(show)}} {{FuncParameters}} {{FuncParam|show|__EDIT_ME__}} {{FuncReturnValue|__EDIT_...")
 
No edit summary
 
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Toggle the health HUD for the client.}}


{{FuncSyntax|ShowHealthHUD(show)}}
{{FuncSyntax|ShowHealthHUD(show)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|show|__EDIT_ME__}}
{{FuncParam|show|The boolean status whether to show or hide the HUD}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|__EDIT_ME__}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
ShowHealthHUD(false) -- hide the health hud for the client
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
__EDIT_ME__

Latest revision as of 10:08, 12 December 2019

ShowHealthHUD

Type: Function
Context: Client
Introduced: v1.0

Description

Toggle the health HUD for the client.

Syntax

ShowHealthHUD(show)

Parameters

  • show
    The boolean status whether to show or hide the HUD

Return Value

  • __EDIT_ME__

Example

ShowHealthHUD(false) -- hide the health hud for the client

See also

__EDIT_ME__