Skip to content

fl-lo/lightlib-redm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightLib (LLib)

LightLib (LLib) is a lightweight menu library for RedM. It allows you to create interactive menus with sub-menu management, buttons with descriptions, sliders, right labels, opacity controls, checkboxes and filters.

Features

  • Sub-menus: Create nested menus for easy and smooth navigation.
  • Buttons with descriptions: Add detailed descriptions to your buttons.
  • Sliders: Use sliders to select values.
  • RightLabel: Display labels to the right of buttons.
  • Opacity: Control the opacity of menu elements.
  • Checkbox: Add checkboxes for boolean options.
  • Filters: Add a filter by pressing F to find a button faster

Preview

alt text alt text alt text

Inspiration

The menu code is inspired by PMenu, while the usage is a mix of PMenu and RageUI.

Usage Example

To see an example of a menu created with LightLib, check out the example.lua file.

Installation

To use LightLib in your RedM project, simply add the lightlib.lua file and your lua file containing the menu to your resource and configure the fxmanifest.lua like this one

About

Lightweight menu library for RedM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages