ScriptHookVDotNet based library for easy and fast Rockstar-like menus.
- Support for simple buttons, checkboxes and lists.
- Support for custom banners from game sprites and your own textures.
- Easy nested menus for fast and painless nested menu system.
- Controller support.
- Mouse controls.
- Custom instructional buttons.
- Support for all screen resolutions.
- Item descriptions.
- Rebindable keys and controls.
- Badges to decorate your items.
- Event-based callbacks.
After installing ScriptHookVDotNet, copy NativeUI.dll to your scripts/ folder.
Add NativeUI.dll your references in Visual Studio just like you did with ScriptHookDotNet.dll and add "using NativeUI;" to the top of your script.
You can read the documentation at the wiki.
-- Fixed issue when UIMenuListItem had more than 100k items
-- Added mouse controls to TabView
-- Added TabInteractiveListItem
-- Added UIMenu.ScaleWithSafezone
-- Removed useless BarTimerBar.Text
-- Fixed Wasted & Busted messages not going away.
-- Added Timer bars.
-- Added pause menu style menus.
-- Added BigMessage class. See wiki for a tutorial.
-- Fixed crash related to instructional buttons. Thanks zorg93 for the find.
-- Compatibilities with ScriptHookVDotNet 2.0
-- Mouse controls are disabled when controller is used.
-- See github release for more information.
-- Cursor resets when menu is open. You can disable this setting ResetCursorOnOpen to false.
-- You can read the changelog here.
-- You can read the full changelog here.
-- Removed debug stuff from last release.
-- Lied a base for controller detection.
-- Menu mantains aspect ratio in all screen resolutions.
-- Added menu nesting methods: BindMenuToItem and ReleaseMenuFromItem
-- Added back/exit buttons.
-- Added a helper class, MenuPool, to easily call your process methods of all of your menus with just one method, ProcessMenus.
-- Added mouse controls. Place ProcessMouse() in your OnTick event.
-- Restyled the menu to look a lot more like an official Rockstar menu.
-- Added controller support.
-- Support for both keys and controls
-- Disabled phone when menu is open
-- Added Select support for list items
-- Fixed graphical errors when there were more than 12 items on screen.
-- Added badges.
-- Initial Release.
Please, do not distribute the .dll with your mod. This causes many old versions floating around on the internet. Instead, point your users to this post.
Thanks to jedijosh920 for helping out on natives and making it look a lot more like Rockstar, thanks man.
You can find the source at https://github.com/Guad/NativeUI