Gameplay::setGamePaused: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
Line 11: Line 11:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Gameplay_s_function_c}}
{{Gameplay_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 09:59, 22 July 2024

Make sure to call this from the correct thread if you're using multiple threads because all other threads except the one which is calling SET_GAME_PAUSED will be paused which means you will lose control and the game remains in paused mode until you exit GTA5.exe

Syntax

mp.game.gameplay.setGamePaused(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also