Gameplay::setGamePaused

From RAGE Multiplayer Wiki
Revision as of 20:14, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

gameplay.setGamePaused(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

todo

See also

Template:Gameplay function c