Skip to main content

ESX

If you are new developer in fivem, you can read the FiveM Documentation to get a good help.

ESX.RegisterCommand('myCommand', 'admin', function(xPlayer, args, showError)

-- Your function here

end, false, {help = 'Command Help'})