Skip to content

Fixitfy/fx-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fx-input

RedM Input System

insatallation

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

features

  • Custom designe Fixitfy.
  • Very easy to use.
  • vorp_inventory/html/img/example.png for icon usage
  • icon = example.png

Credit

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

Example

RegisterCommand('testinput', function(args)
    local dialog = exports['fx-input']:ShowInput({
        header = 'Target Player ID: 3',
        submitText = "Confirm",
        inputs = {
            {
                type = 'number',
                name = 'playercash',
                text = 'Player Cash: 2500 $',
                isRequired = false,
            },
            {
                type = 'number',
                name = 'playergold',
                text = 'Player Gold: 0',
                isRequired = false,
            }
        }
    })
    if dialog then
        print(json.encode(dialog))
    end
end)

Media

Screenshot_371

About

RedM Input System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors