Chat.show: Difference between revisions
MrPancakers (talk | contribs) (Updated template) |
MrPancakers (talk | contribs) |
||
| Line 18: | Line 18: | ||
==See also== | ==See also== | ||
{{Gui_definition_c}} | |||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
Revision as of 03:09, 13 June 2018
Toggles the chat visibility.
Syntax
mp.gui.chat.show(toggle);
Required Arguments
- toggle: Bool toggle
Return value
Unknown
Example
Client-Side
mp.events.add('playerDeath', (player) => {
//Hide chat when player dies
mp.gui.chat.show(false);
});