Ui::isPauseMenuActive: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Category:UI API")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Syntax==
<pre>mp.game.ui.isPauseMenuActive();</pre>
=== Information ===
Determine if the front end pause menu is currently active. Ie. the options menu.
===Return value===
*'''true/false'''
==Example==
<pre>
let isPauseActive = mp.game.ui.isPauseMenuActive();
</pre>
==See also==
{{Ui_s_function_c}}
[[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