dotnet add package LemonUI.RageMP --version 1.10.0
NuGet\Install-Package LemonUI.RageMP -Version 1.10.0
<PackageReference Include="LemonUI.RageMP" Version="1.10.0" />
paket add LemonUI.RageMP --version 1.10.0
#r "nuget: LemonUI.RageMP, 1.10.0"
// Install LemonUI.RageMP as a Cake Addin #addin nuget:?package=LemonUI.RageMP&version=1.10.0 // Install LemonUI.RageMP as a Cake Tool #tool nuget:?package=LemonUI.RageMP&version=1.10.0
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
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.
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.
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.
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.
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.
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||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
|.NET Core||netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
- RAGEMP-ragesharp (>= 1.1.3)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.