OnHideMainMenu: Difference between revisions
From Onset Developer Wiki
mNo edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
<syntaxhighlight lang="Lua"> | <syntaxhighlight lang="Lua"> | ||
AddEvent("OnHideMainMenu", function () | AddEvent("OnHideMainMenu", function () | ||
AddPlayerChat("OnHideMainMenu") | |||
end) | end) | ||
</syntaxhighlight> | </syntaxhighlight> |
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)