setHUDEnabled: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = client
|name = setHUDEnabled
|side = client
|type = function
|type = function
|name = setMainHUDEnabled
|games = iii vc sa iv
|parameters = bool hudEnabled
|desc = set the visibility status of the HUD
|parameter1 = bool hudEnabled Whether the HUD is to be shown.
|arg1 = bool hudEnabled Whether the HUD is to be shown.
|usage = set the visibility status of the HUD
|return = void
|bcMaxVersion = 1.0.71
|freturn = void
|bcName = game.setMainHUDEnabled
|previousName = game.setMainHUDEnabled 1.0.71
|return1 = void
|returnFail1 = void
}}
}}

Latest revision as of 20:37, 19 November 2022

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

void setHUDEnabled(bool hudEnabled)

The setHUDEnabled function is used to set the visibility status of the HUD.

Parameters

1) bool hudEnabled Whether the HUD is to be shown.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

icon-iv.png hudEnabled
icon-iii.png icon-vc.png icon-sa.png icon-iv.png setHUDEnabled