/RageMP-NativeUI

NativeUI for GTA V RAGE Multiplayer mod written in TypeScript

Primary LanguageTypeScriptApache License 2.0Apache-2.0

RAGE-NativeUI

This project is a fully TypeScript compatible port of RageMP-NativeUI. It provides a simple way to use NativeUI menus in your clientside scripts. A lot of credits to DurtyFree for making significant improvements to this library.

Usage:

With npm:

  1. You can get the latest release and the type definitions using npm:
    npm i Vladeksh/RageMP-NativeUI
    
  2. Add this line to top of file where you want to use NativeUI.
    import * as NativeUI from "@Vladeksh/RageMP-NativeUI";

Without npm:

  1. Download nativeui.zip from releases page.
  2. Unpack archive in a folder of your client project, and import like any other module:
    import * as NativeUI from "./lib/nativeui";

Example Menu

TODO