SD-Menu
SD-Menu is Developer Tool for FiveM that allows you to support multiple menus and inputs using a single export and also adds Font Awesome (opens in a new tab) support to menu's without code changes.
Supported Menus & Inputs
Library (In Your Resource)
You can inlude sd-menu in your resource without having to depend on another resource, simply add sd-menu.lua to your resource and include it in your fxmanifest.lua on the client side.
client_scripts {
'client/sd-menu.lua'
}
Resource
You can also run sd-menu as standalone resource by downloading the github release
You can then use the exports as followed.
-- Menu
exports['sd-menu']:CreateMenu(data)
-- Input
exports['sd-menu']:CreateInput(data)