OnShowMainMenu

From Onset Developer Wiki
Revision as of 10:45, 6 January 2020 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Template:ClientEvents