Loading...

Pause Menu Library 1.0

38

v1.0

Pause Menu Library is a library for mod authors: give your mod its own settings pages, tabs and toggles inside the GTA V pause menu, compatible with GTA V Enhanced and Legacy. Your pages are drawn by the game itself, so they work exactly like Rockstar's own settings. No UI code of your own to write

What your mod can add
  • Pages with toggles, sliders, option lists ("Apple|Orange|Banana"), buttons, text boxes, headings, stat bars and stat texts
  • Full-screen pages in the style of SETTINGS, STATS or Key Bindings, opened from a list or from a tab of your own
  • Key binding pages that work like the game's own: keyboard, mouse and controller keys, Delete, Restore Defaults, and key swap confirmation page
  • "Reset to defaults" rows with confirmation page
  • Page headers, info panels, row descriptions, values shown row, greyed-out rows
  • Entries in the shared MODS tab, in SETTINGS, in GAME, or a tab of your own


The MODS tab (optional but recommended)
One tab shared by every mod, right after SETTINGS, so the player's menu doesn't get cluttered with different mod settings all over the place. Add one entry that opens your mod's full-screen page; mods are listed by name.

Getting started
Open Developer SDK\api_guide.pdf: the C++ setup is two blocks to paste, the C# one is a single file, and every function and event is described there.

Players: on its own it does nothing! Install it when a mod asks for it - see Install below.

Player control
SETTINGS > Pause Menu Library is the player's settings page: players can hide the game's tabs, and every mod gets a page where players can hide any of its tabs and entries. The mod keeps running but gives player the control to manage their pause menu.

Requirements

- Latest version of GTA V (Enhanced or Legacy), older versions may work but are not officially supported
- Latest ScriptHookV (http://www.dev-c.com/gtav/scripthookv/)

Install

1. Copy PauseMenuLibrary.asi into your GTA V install folder (next to GTA5_Enhanced.exe or GTA5.exe).
2. Install the mods that require Pause Menu Library as instructed by the mod author.
3. Launch the game and open the pause menu: mods' entries are in the MODS tab, SETTINGS, GAME or their own tabs.

The Developer SDK folder is not needed to play.

License

Free for personal, non-commercial use in GTA V single player. Do not modify or re-upload its files, decompile or reverse engineer, or use it in GTA Online. Not made, endorsed or supported by Rockstar Games or Take-Two Interactive.
- You may include PauseMenuApi.h / PauseMenuApi.cs in your mod's source - but don't include PauseMenuLibrary.asi with your mod or upload it anywhere else.

Credits

- Pause Menu Library was written from scratch by SloRey
- Inspired by CamxxCore's PauseMenuHelper (Legacy, 2017)

Support

Please support the development on https://www.patreon.com/cw/RageSandbox
Bug reports, feature requests and help for mod authors on Discord: https://discord.gg/s3amGvDRyx
Players: if a mod's own page or setting doesn't work, report it to that mod's author first.

Current Release Changelog
v1.0: Initial release
Show Full Description

First Uploaded: 11 hours ago
Last Updated: 11 hours ago
Last Downloaded: 3 minutes ago

All Versions

 1.0 (current)

38 downloads , 313 KB
11 hours ago

3 Comments