ALL SCRIPTS › [ESX/QB/STANDALONE] DARKSCRIPTS MENU API
About this script
ds_menu_api gives your own scripts a menu without a framework behind it. One call opens it, four callbacks tell you what happened, and it looks like the rest of the DarkScripts menus. It runs on ESX, QBCore, Qbox and on a bare server alike.
Menus
- Buttons, checkboxes, lists to scroll through, separators and submenus
- Locked rows the cursor skips, amounts shown in gold
- Opening with the same id again rebuilds a menu instead of stacking a second one
- One menu on screen at a time the one below comes back on its own
Input
- A text field with title, placeholder and a character limit
- Enter confirms, Escape cancels your callback gets the text, or nil
For you
- A complete example menu with open code every row type, a submenu and the input window
- This is not an ESX menu replacement for that there are ds_menu_default and ds_menu_dialog
