LemonUI.SHVDN3 1.10.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LemonUI.SHVDN3 --version 1.10.0                
NuGet\Install-Package LemonUI.SHVDN3 -Version 1.10.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LemonUI.SHVDN3" Version="1.10.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LemonUI.SHVDN3 --version 1.10.0                
#r "nuget: LemonUI.SHVDN3, 1.10.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LemonUI.SHVDN3 as a Cake Addin
#addin nuget:?package=LemonUI.SHVDN3&version=1.10.0

// Install LemonUI.SHVDN3 as a Cake Tool
#tool nuget:?package=LemonUI.SHVDN3&version=1.10.0                

LemonUI<br>GitHub Actions NuGet NuGet NuGet NuGet Patreon PayPal Discord

LemonUI is a framework for creating UI systems in Grand Theft Auto V that is compatible with FiveM, RageMP, RagePluginHook ScriptHookVDotNet 2 and ScriptHookVDotNet 3. 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

Warning: You don't need to install all of the files. You only need to install the ones for the framework you plan to use. For example, if you want to install SHVDN mods, you don't need to install the RPH version.

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.

RageMP

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

RagePluginHook

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

ScriptHookVDotNet 2 and ScriptHookVDotNet 3

PLEASE NOTE THAT THE LAST VERSION THAT SUPPORTED SHVDN2 WAS 1.5.2. You can download it here.

Copy all of the files from the SHVDN2 and/or SHVDN2 folder(s) inside of the compressed file to your scripts directory.

Developers

Add any of the NuGet packages linked above and start working in your IDE.

If you are using RagePluginHook or ScriptHookVDotNet, you can disable the copy of the dll in your IDE so your users always have to use the latest version available.

If you are using RageMP, you will need to download the latest release and copy LemonUI.RageMP.cs to you client solution.

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.

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on LemonUI.SHVDN3:

Package Downloads
FusionLibrary.SHVDN3

Helper library for GTAV's ScriptHookVDotNet3.

PlayerCompanion

Mod for GTA V that adds an Inventory system with the storage of Weapons and Money for all characters. This package can be used to add Inventory items to PlayerCompanion.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.2 811 7/11/2024
2.1.1 271 5/25/2024
2.1.0 165 5/24/2024 2.1.0 is deprecated because it has critical bugs.
2.0.0 908 12/22/2023
1.10.0 803 6/20/2023
1.9.4 670 3/27/2023
1.9.3 309 2/21/2023
1.9.1 1,548 10/31/2022
1.9.0 399 10/25/2022
1.8.0 736 6/25/2022
1.7.0 1,282 3/25/2022
1.6.0 752 12/25/2021
1.5.2 316 12/19/2021
1.5.1 1,860 9/5/2021
1.5.0 350 8/29/2021
1.4.0 741 4/23/2021
1.3.0 437 3/26/2021
1.2.0 981 11/14/2020
1.1.1 432 11/10/2020
1.1.0 591 10/4/2020
1.0.0 454 8/4/2020