Chargement...

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

Première mise en ligne : 19 mai 2022
Dernière mise à jour : 12 mars 2024
Téléchargé pour la dernière fois : il y a 10 heures

All Versions

 3.0 (current)

182 téléchargements , 1 ko
12 mars 2024

 2.0

331 téléchargements , 1 ko
10 octobre 2023

 1.1

237 téléchargements
2 septembre 2023

 1.0

706 téléchargements
19 mai 2022

24 commentaires