SET_GAME_PAUSED
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.
Hash
0xFAEC088D28B1DE4ARuntime name
SetGamePausedNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x577D1284D6873711Signature
void SET_GAME_PAUSED(BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
toggle | BOOL | — |
Returns void
Description
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.
Usage
SetGamePaused(toggle)
-- always works, by hash
Citizen.InvokeNative(0xFAEC088D28B1DE4A, toggle)JavaScript and C#
SetGamePaused(toggle);
// by hash
Citizen.invokeNative('0xFAEC088D28B1DE4A', toggle);Function.Call((Hash)0xFAEC088D28B1DE4A, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.