/LemonUI

Framework for GTA V that allows you to create and modify UI elements and a NativeUI replacement

Primary LanguageC++MIT LicenseMIT

LemonUI
AppVeyor NuGet NuGet NuGet NuGet Patreon PayPal Discord

LemonUI is a framework for creating UI systems in Grand Theft Auto V that is compatible with SHVDN2, SHVDN3 and FiveM. It allows you to create UI Elements with a NativeUI-like style, or you can also create your own UI System from scratch via the resolution-independant classes for Text, Rectangles and Textures.

It was created as a replacement for NativeUI due to being too convoluted to develop and maintain. LemonUI retains most (if not all) of the UI Elements available in NativeUI.

Special thanks to:

  • Guad for the original work in NativeUI
  • alloc8or for the help with the GTA Online Loading Screen Scaleform
  • ikt for helping me to use SET_SCRIPT_GFX_ALIGN and SET_SCRIPT_GFX_ALIGN_PARAMS
  • Dot. for the snippet of code used for the item scrolling
  • deterministic_bubble for answering some questions about some missing C# classes in FiveM
  • PNWParksFan for helping me with some RPH question when I was doing the port

Download

Installation

FiveM

You don't need to install any files when using FiveM. When you connect to a server, the resources that need it will automatically provide a copy of LemonUI.

RPH

Copy all of the files from the RPH folder inside of the compressed file to the root of your GTA V installation directory.

SHVDN 2 and SHVDN 3

Copy all of the files from the SHVDN2 and SHVDN3 folders inside of the compressed file to your scripts directory.

Usage

Once installed, the mods that require LemonUI will start working.

If you are a developer, check the wiki for information to implement LemonUI in your mod.