Loading...

Unpaused: Game Pause Control [.Lua] 3.0

1.456

Ever wish that you could check the pause menu map to maybe set a waypoint while your chauffeur (or someone) drives you around or maybe adjust some settings or interact with some elements of the pause menu while some event happens to be going around or happening in the background, without the game actually pausing/freezing? Well, here you go, the solution that'll allow you to do this!

How it works - by default, with a quick press (and release) of your pause button, your pause menu will open without pausing the game; however, should you decide that you want the game to actually pause this time around in the menu, pressing and holding the pause button for a (1) second will pause the game in the menu like normal.

This script requires ScriptHookV and JM36 Lua Plugin.
Put "PauseMenuGamePauseControl.lua" into your JM36 Lua Plugin "ScriptsDir-Lua/Modules" directory.



Changelog:
v3.0:
- Added some additional checks in order to prevent some unwanted/unintentional pauses from being triggered (such as while typing text into some game text boxes).
v2.0:
- Changed/Improved the internal logic of how "pausing" the game works
- No longer needs to "unpause" to "repause" for full/freeze pause
- Poorly written scripts might have timing related issues (and/aka not work very well) with this version if they fail to check for whether the pause menu is active; use an older/legacy version of this script if this issue affects/impacts you (and let me know about the problematic script as well too).
v1.1:
- Improved and simplified code to be both more readable and more efficient.
- Renamed from "Pause Menu Game Pause Control [.Lua]"
Show Full Description

First Uploaded: 19. maj 2022
Last Updated: 12. mar 2024
Last Downloaded: okoli 9 ur

All Versions

 3.0 (current)

182 downloads , 1 KB
12. mar 2024

 2.0

331 downloads , 1 KB
10. okt 2023

 1.1

237 downloads
02. sep 2023

 1.0

706 downloads
19. maj 2022

24 Comments