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)
Пока никто не оставил комментарий — станьте первым.