ShowChat: Difference between revisions

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


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|To toggle the chat for the client.}}


{{FuncSyntax|ShowChat(show)}}
{{FuncSyntax|ShowChat(show)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|show|__EDIT_ME__}}
{{FuncParam|show|The boolean status (true/ false)}}


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


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
ShowChat(false) -- hides the chat for the player
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:ClientFunctions}}

Revision as of 10:55, 21 November 2019

ShowChat

Type: Function
Context: Client
Introduced: v1.0

Description

To toggle the chat for the client.

Syntax

ShowChat(show)

Parameters

  • show
    The boolean status (true/ false)

Return Value

  • __EDIT_ME__

Example

ShowChat(false) -- hides the chat for the player

See also

Pak

Game

Colors

Miscellaneous

Time

Player

Camera

Waypoints

Fireworks

Packages

Chat

HUDs

Post-processing

GUI

Ocean

Mouse

Sky / Environment

Network

NPC

Objects

Events

Pickup

Door

Text3D

Sound

Text

Timer

Vehicles

Web UI

Key