OnHideMainMenu: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Event|Client|1.0}} {{FuncDescription|This function is called every time a player hides the main menu.}} {{FuncSyntax|OnHideMainMenu()}} == Example == <syntaxhighligh..." |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
<syntaxhighlight lang="Lua"> | <syntaxhighlight lang="Lua"> | ||
AddEvent("OnHideMainMenu", function () | AddEvent("OnHideMainMenu", function () | ||
AddPlayerChat("OnHideMainMenu") | |||
end) | end) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{GameClientEvents}} |
Latest revision as of 12:25, 2 September 2020
Description
This function is called every time a player hides the main menu.
Syntax
OnHideMainMenu()
Example
AddEvent("OnHideMainMenu", function ()
AddPlayerChat("OnHideMainMenu")
end)