Skip to content

citizenfx/NativeUI

 
 

Repository files navigation

NativeUI

NativeUI Example

PauseMenu Example!

NativeUI is a library that helps you quickly and easily build Rockstar-like menus and Pause Menus.

Documentation

Take a look at our wiki page.

Features

  • Support for simple buttons, checkboxes and lists.
  • Support for custom banners from game sprites and your own textures.
  • Support for panels from grid panels to color panels.
  • 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.

Distribution

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.

License

Copyright (c) 2016 Phillipp

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Port to CitizenFX

This is a ported version to CitizenFX. Developers looking to create C# Resources for FiveM can use this port to create custom menus. Note, not all features are documented yet. This ported version may contain small changes and some features from the original NativeUI by GUAD have been disabled because they are not available through CitizenFX.