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__}..." |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|To toggle the chat for the client.}} | ||
{{FuncSyntax|ShowChat(show)}} | {{FuncSyntax|ShowChat(show)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|show| | {{FuncParam|show|The boolean status (true/ false)}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true'''.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
ShowChat(false) -- hides the chat for the player | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
__EDIT_ME__ | __EDIT_ME__ |
Latest revision as of 11:00, 1 September 2020
Description
To toggle the chat for the client.
Syntax
ShowChat(show)
Parameters
- show
The boolean status (true/ false)
Return Value
- Returns true.
Example
ShowChat(false) -- hides the chat for the player
See also
__EDIT_ME__