载入中...

Unpaused: Game Pause Control [.Lua] 3.0

1,457

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

首次上传时间: 2022年5月19日
最后更新时间: 2024年3月12日
最后下载: 16小时前

All Versions

 3.0 (current)

183次下载 , 1.0 KB
2024年3月12日

 2.0

331次下载 , 1.0 KB
2023年10月10日

 1.1

237次下载
2023年9月02日

 1.0

706次下载
2022年5月19日

24个评论