Kxiox Scripts
  • 📢Discord
  • 💻GitHub
  • 🛡️ks_insurance
    • 📼Preview
    • ⬇️Download and install
    • ⚙️Configuration
    • 💻Developer
  • 💼ks_jobchanger
    • 📼Preview
    • ⬇️Download and install
    • ⚙️Configuration
  • 🔥ks_hydrants
    • 📼Preview
    • ⬇️Download and install
    • ⚙️Configuration
    • 💻Developer
Powered by GitBook
On this page
  • Default Config
  • Register Items
  • Template
  1. ks_jobchanger

Configuration

Default Config

Config = {}

Config.Items = {
    ['melder'] = { -- Itemname (string)
        job = 'police', -- Jobname (string)
        grade = 0  -- Jobgrade (int)
    }
}

function Notify(source, text, type, time)
    TriggerClientEvent('ox_lib:notify', source, {
        title = 'Job',
        description = text,
        type = type,
        duration = time,
        position = 'top'
    })
end

Register Items

Template

[itemname] = {
    job = jobname,
    grade = jobgrade
}
  • itemname: string

  • jobname: string

  • jobgrade: integer

  • add item byself in your items database or inventory script

PreviousDownload and installNextPreview

Last updated 10 months ago

💼
⚙️