Ui::isPauseMenuActive: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
Line 9: Line 9:
==Example==
==Example==
<pre>
<pre>
var isPauseActive = mp.game.ui.isPauseMenuActive();
let isPauseActive = mp.game.ui.isPauseMenuActive();
</pre>
</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]]

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