OnShowMainMenu: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
Created page with "{{Info|Event|Client|1.0}} {{FuncDescription|This function is called every time a player hides the main menu.}} {{FuncSyntax|OnShowMainMenu()}} == Example == <syntaxhighligh..."
 
Chloe (talk | contribs)
mNo edit summary
Line 13: Line 13:


{{RelatedFunctions}}
{{RelatedFunctions}}
[[Template:ClientEvents]]
{{GameClientEvents}}

Revision as of 08:41, 16 January 2020

OnShowMainMenu

Type: Event
Context: Client
Introduced: v1.0

Description

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

Syntax

OnShowMainMenu()

Example

AddEvent("OnShowMainMenu", function ()
    -- code
end)

See also