NativeUI 1.6.1

NativeUI

ScriptHookVDotNet based library for easy and fast Rockstar-like menus.

Features:

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.

Installation

After installing ScriptHookVDotNet, copy NativeUI.dll to your scripts/ folder.

Usage

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.

Changelog

– 1.6.1

— Fixed Wasted & Busted messages not going away.

– 1.6

— Added Timer bars.

— Added pause menu style menus.

— Added BigMessage class. See wiki for a tutorial.

– 1.5

— Fixed crash related to instructional buttons. Thanks zorg93 for the find.

– 1.4

— Compatibilities with ScriptHookVDotNet 2.0

— Mouse controls are disabled when controller is used.

— Bugfixes.

– 1.3

— See github release for more information.

– 1.2

— Cursor resets when menu is open. You can disable this setting ResetCursorOnOpen to false.

– 1.1

— You can read the changelog here.

– 1.0

— You can read the full changelog here.

– 0.9

— Removed debug stuff from last release.

— Lied a base for controller detection.

– 0.8

— Menu mantains aspect ratio in all screen resolutions.

– 0.7

— 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.

– 0.6

— Added mouse controls. Place ProcessMouse() in your OnTick event.

— Restyled the menu to look a lot more like an official Rockstar menu.

– 0.5

— Added controller support.

– 0.4

— Support for both keys and controls
— Disabled phone when menu is open
— Added Select support for list items

– 0.3

— Fixed graphical errors when there were more than 12 items on screen.

– 0.2

— Added badges.

– 0.1

— Initial Release.

Download the Source Code here:




  • Add Comment