Caricamento...

Unpaused: Game Pause Control [.Lua] 3.0

1.925

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

Primo Caricamento: 19 maggio 2022
Ultimo Aggiornamento: 12 marzo 2024
Last Downloaded: 1 giorno fa

All Versions

 3.0 (current)

626 downloads , 1 KB
12 marzo 2024

 2.0

339 downloads , 1 KB
10 ottobre 2023

 1.1

246 downloads
02 settembre 2023

 1.0

714 downloads
19 maggio 2022

25 Commenti