Skip to content

Fixitfy/fx-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fx-menu

RedM Menu System

insatallation

  • ensure fx-menu in the top of your resources.cfg

features

  • Custom designe Fixitfy.
  • Very easy to use.
  • To use the icons you can use your png names in the file path "vorp_inventory/html/img/items" for vorpcore. For example icon = "cash"
  • If you are using another framework, update the openmenu function in client/main.lua line 13 for the icons file path

Credit

  • credit goes to the QBCORE and RSGCore team for basecode and functionality

Example

RegisterCommand('testmenu', function(args)
    exports['fx-menu']:openMenu({
        {
            header = "Fixitfy Menu",
            isMenuHeader = true,
        },
        {
            header = "Player's ID: 1",
            txt = "Fixitfy Dev",
            icon   = 'confirm',
            params = {
                event = "",
                isServer = false,
                args = {},
            }
        },
        {
            header = "Player's Job",
            txt = "Sheriff",
            icon   = 'badge',
            params = {
                event = "",
                isServer = false,
                args = {},
            }
        },
        {
            header = "Player's Cash",
            txt = "2500 $",
            icon   = 'money',
            params = {
                event = "",
                isServer = false,
                args = {},
            }
        },
        {
            header = "Player's Gold",
            txt = "100 Gold",
            icon = 'goldbar',
            params = {
                event = "",
                isServer = false,
                args = {},
            }
        },
        {
            header =  "Close Menu",
            txt = 'Exit',
            icon = "cancel",
            params = {
                event = 'fx-menu:closeMenu',
            }
        },
    })
end)

Media

fixit Screenshot_381

About

RedM Menu System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors