βοΈ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:
Last updated