CS_MENU_DIALOG

A simple dialog menu system for FiveM with customizable UI, notifications


Installation

  • Example: To make the SVG white → stop-color="#ffffff"

  • Open fxmanifest.lua

  • Remove -- at the beginning of line 16

  • Delete line 15


Usage Example

Here’s how to open a dialog menu in your client.lua:

CreateThread(function()
    ESX.UI.Menu.Open('dialog', GetCurrentResourceName(), 'menu_dialog', {
        title = 'Change this to your desired title',
    }, function(data, menu)
        local input = data.value
        -- Do something with the value input
        print(input)
        menu.close()
    end, function(data, menu)
        menu.close()
    end)
end)

Support

If you have any further questions, open a ticket on our discord server: discord.gg/core-services

Last updated

Was this helpful?