vUI.
Web UI for GTA V

One transparent Chromium browser drawn over Story Mode. Every mod is a folder with a page in it: menus on their own key, HUDs always on screen. Your game code talks to them with small JSON messages.

GTA V Legacy & EnhancedHTML / CSS / JSC++ and C#

Four layers. Click one

Menu or HUD

One flag in mod.json decides. Both can receive messages from the game and read and write settings.

Menu

"hasToggleKey": true

  • Hidden until opened
  • Gets mouse and keyboard; game controls are disabled meanwhile
  • Opens with a key the player can rebind in the Mods Hub
  • Also opened by vuiOpenMenu / VuiMod.OpenMenu

HUD

"hasToggleKey": false

  • Always on screen while the mod is enabled
  • Never takes input; clicks pass through to the game
  • No key setting; just an on/off switch in the hub
  • Keep it light: all pages share one browser surface
88km/h

What a mod ships

A mod can be web only. Add native code only when you need to touch the game.

required

uimods\<ModName>\

A folder with mod.json and your web files. The folder name is the mod id your code passes to the API.

C++ logic

<ModName>.asi

Includes vUI.h, links vUI.lib. You do not ship vUI.asi or vUI.lib: players install vUI once.

C# logic

<ModName>.dll

In scripts\, referencing vUI.NET.dll. All C# mods share that one wrapper DLL.

Three keys to know

F5

Mods Hub. Open or close the hub: every mod, its switch, its key.

···

A mod’s key. Opens that mod’s menu. Shown on its card, rebindable in the hub.

Esc

Close. Closes whatever vUI menu is open and hands controls back to the game.

Install it and try in game

What to expect

Legacy and Enhanced versions supported with one file only

Same API and same pages on both. Only the way vUI hooks into the game differs.

Single-player only

vUI runs on ScriptHookV, which is for offline Story Mode use. Do not use it online.

Mouse and keyboard

Gamepad is not supported. Menus are driven by mouse and keyboard.

One shared surface

All pages render into one browser. A heavy page costs frame time for everyone, so keep HUDs light.

Mods scan at startup

Add or change a mod folder, then restart the game. Page files are re-read on each launch.

Quick answers

Do I need C++ or C# to make a mod?

No. A menu that only uses saved settings can be pure HTML, CSS and JavaScript. You need C++ or C# only when the mod has to read or change the game: speed, health, spawning things.

Do I ship vUI with my mod?

No. Players install vUI once and every mod shares it. If your mod is C#, list vUI.NET.dll as a requirement or include it in your download.

Can mods see each other?

No. Each page lives in its own iframe, and a page can only read and write its own mod’s settings. vUI identifies the mod by the frame that made the call.

What size is the page?

Always 1920×1080 CSS pixels, stretched to the player’s screen. Keep the background transparent and position your panel inside it.

How do I debug a page?

Set debug = true in vUI\vui.ini and restart. Chromium DevTools is then available at http://localhost:9222 in Chrome or Edge on the same PC.

Does it work online?

No. vUI depends on ScriptHookV, which is meant for single-player, offline use only.

Where do settings go?

vUI\mods\configurations\<Mod>.xml, created from the defaults your code asks for. Plain XML; edit it by hand while the game is closed if you like.