Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 940 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 940 Bytes

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