Skip to content

sxHelpMenu v1.0.0

Choose a tag to compare

@0xS4cha 0xS4cha released this 19 Nov 20:41
· 62 commits to main since this release
cbbd897

First release of sxHelpMenu, a library to show help menus and info widgets in the style of GTA 6.

Features

  • Display only menus that never take the focus
  • Pages with a title and an icon, switched with a key
  • Text rows with icons, segmented bars, sliders with a value badge, a header and a footer
  • Bottom right by default, or any of the nine anchors with an offset, stacked menus on the same anchor
  • Live updates of a row or a whole menu, auto hide after a duration
  • Every Lucide icon by name or an image URL
  • Client exports and a chainable Lua builder for other resources

Installation

  1. Download sxHelpMenu.zip below and extract it into your resources folder. The interface is already built.
  2. Add ensure sxHelpMenu to your server.cfg before the resources that use it.
  3. In your resource, add client_script '@sxHelpMenu/lib/menu.lua' to use the builder, or call the exports directly.

See the README for the menu format, the builder, the exports and the configuration. Examples are in sxHelpMenu_example.