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.
- You can get the latest release and the type definitions using npm:
npm i Vladeksh/RageMP-NativeUI
- Add this line to top of file where you want to use NativeUI.
import * as NativeUI from "@Vladeksh/RageMP-NativeUI";
- Download
nativeui.zip
from releases page. - Unpack archive in a folder of your client project, and import like any other module:
import * as NativeUI from "./lib/nativeui";
TODO