βš™οΈConfiguration

βœ… Framework Support

Config.Framework = 'qb' -- 'esx', 'qb' o 'qbx'

🎯 Target System

Config.TargetSystem = 'ox_target'

🌐 Localization

Config.Locale = 'en'

πŸ›‚ Permissions & Commands

Config.GiveIDCard = { "admin", "god" }
Config.GiveFirearmLicense = { "admin", "god" }
Config.GiveLicenseGroups = { "admin", "god" }

Available commands:

/giveidcard [ID]
/givegunlicense [ID]
/givecarlicense [ID] car bike truck

🧾 Document Items

Config.IdCardItem = 'idcard'
Config.FireArmLicenseItem = 'portod'
Config.LicenseItem = 'patente'
Config.PoliceBadgeItem = 'tespula'
Config.ShildBadgeItem = 'shildpol'

⏱️ Document Expiry

Config.ExpireDateDocuments = 3 -- 3 weeks

πŸ”” Notification System

Config.NotificationSystem = 'ox' -- options: 'ox', 'esx', 'custom'

πŸ–₯️ Police Document Stations

Config.PcPolice = {
  {
    label = "Mission Row",
    coords = vector3(-1082.8131, -792.3427, 19.2763),
    job = "police",
    grades = {
      [0] = { citizen_documents = true, police_documents = false },
      [2] = { citizen_documents = true, police_documents = true }
    }
  }
}

πŸ“€ Discord Webhook & Fivemanage Token

Fivemanage API token:

Config.TokenFivemanage = "YOUR_TOKEN_HERE"

Discord log:

Config.KSDocumentsLog = {
    fakedocuments = "",
    pcdocumentscreation = "",
    giveidcard = "",
    givegunlicense = "",
    givelicense = "",
}

πŸ“¦ Exports

Use the following exports to give documents from other scripts:

exports['KS-Documents']:giveidcard(targetId)
exports['KS-Documents']:givegunlicense(targetId)
exports['KS-Documents']:giveLicenseCard(targetId, formattedLicenseTypes)

πŸ“¬ Need Help or Support?

If you have any questions, need help with setup, or want to report a bug, feel free to join our support Discord:

πŸ‘‰ Join our Discord server

Last updated