Ui::isPauseMenuActive: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 1: Line 1:
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.ui.isPauseMenuActive();</syntaxhighlight>
<pre>mp.game.ui.isPauseMenuActive();</pre>
 
=== Information ===
Determine if the front end pause menu is currently active. Ie. the options menu.
 
===Return value===
===Return value===
*'''true/false'''
*'''true/false'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<pre>
// todo
var isPauseActive = mp.game.ui.isPauseMenuActive();
</syntaxhighlight>
</pre>
==See also==
==See also==
{{Ui_s_function_c}}
{{Ui_s_function_c}}

Revision as of 00:30, 21 August 2018

Syntax

mp.game.ui.isPauseMenuActive();

Information

Determine if the front end pause menu is currently active. Ie. the options menu.

Return value

  • true/false

Example

var isPauseActive = mp.game.ui.isPauseMenuActive();

See also