โ†–๏ธqb-menu

I like buttons

Introduction

The QB Menu system is a Lua-based interactive menu integrated with a web-based user interface

Features

  • Dynamic menu creation

  • Support for icons and images

  • Menu sorting functionality

  • Client-server communication

  • Easy-to-use Lua and JavaScript interfaces

  • Exports and events for extensive integration

openMenu

Opens the menu with provided data

  • data: table

    • header: string (optional)

    • txt: string (optional)

    • icon: string (optional)

    • isMenuHeader: boolean (optional)

    • disabled: boolean (optional)

    • hidden: boolean (optional)

    • action: function(optional)

    • params: table (optional)

      • event: string

      • args: any (optional)

      • isServer: boolean (optional)

      • isCommand: boolean (optional)

      • isQBCommand: boolean (optional)

      • isAction: boolean (optional)

  • sort: boolean

  • skipFirst: boolean

closeMenu

Closes the menu

Last updated

Was this helpful?