IsPlayerInMainMenu: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|IsPlayerInMainMenu()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Exa..."
 
28days (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Check if the client is in main menu. Can be used to make a pause system.}}


{{FuncSyntax|IsPlayerInMainMenu()}}
{{FuncSyntax|IsPlayerInMainMenu()}}
Line 8: Line 8:
{{FuncNoParam}}
{{FuncNoParam}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' if success.}}


== Example ==
== Example ==
Line 14: Line 14:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[GetGameVersion]]
* [[IsGameDevMode]]

Latest revision as of 14:11, 16 November 2019

IsPlayerInMainMenu

Type: Function
Context: Client
Introduced: v1.0

Description

Check if the client is in main menu. Can be used to make a pause system.

Syntax

IsPlayerInMainMenu()

Parameters

  • This function has no parameters.

Return Value

  • Returns true if success.

Example

__EDIT_ME__

See also