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..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{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| | {{FuncReturnValue|Returns '''true''' if success.}} | ||
== Example == | == Example == | ||
Line 14: | Line 14: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[GetGameVersion]] | |||
* [[IsGameDevMode]] |
Latest revision as of 14:11, 16 November 2019
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__