Ui::isPauseMenuActive: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
(2 intermediate revisions by one other user not shown)
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
let isPauseActive = mp.game.ui.isPauseMenuActive();
</syntaxhighlight>
</pre>
 
==See also==
==See also==
{{Ui_s_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:UI API]]
[[Category:UI API]]
[[Category:TODO: Example]]

Latest revision as of 14:23, 22 October 2020

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

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

See also