OnShowMainMenu: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
Line 4: Line 4:


{{FuncSyntax|OnShowMainMenu()}}
{{FuncSyntax|OnShowMainMenu()}}
{{FuncNoParam}}


== Example ==
== Example ==

Latest revision as of 10:38, 22 January 2021

OnShowMainMenu

Type: Event
Context: Client
Introduced: v1.0

Description

This function is called every time a player hides the main menu.

Syntax

OnShowMainMenu()
  • This function has no parameters.

Example

AddEvent("OnShowMainMenu", function ()
    AddPlayerChat("OnShowMainMenu")
end)

See also