На главную сайта / RAGE:MP | Basic Menu (Discontinued)

RAGE:MP | Basic Menu (Discontinued)

26-08-2026, 00:00

This project is discontinued, consider using NativeUI instead.

Bare-bones menu script.

Installing:

Put basicmenu into your server's client_packages directory, then you can add const whatever = require("basicmenu"); to the clientside scripts that you want to add a menu. Example code explains this better.

Properties & Functions:

BasicMenu

title | Get & Set | Title of the menu. (string)

x | Get & Set | X position of the menu. (float)

y | Get & Set | Y position of the menu. (float)


items | Get & Set | An array containing all items of the menu. (MenuItem array)

hoverItem | Get & Set | Index of the item you're hovering on with your cursor, -1 if not hovering on anything. (int)

visible | Get & Set | Visibility of the menu. (bool)

Вернуться на сайт