Configuration
[!CAUTION] Don't touch this line:
Config, Lang, Noti, ConfigJob, Clothes, ClothesMale, ClothesFemale, Jobcenter = {}, {}, {}, {}, {}, {}, {}, {}
Main Configuration
Config, Lang, Noti, ConfigJob, Clothes, ClothesMale, ClothesFemale, Jobcenter = {}, {}, {}, {}, {}, {}, {}, {}
--Use "esx" or "qb"
Config.Framework = "qb"
--If you are using one of the most recent versions of ESX, set the script name. Default = "es_extended"
Config.ESXExport = ""
--Default ESX: "esx:getSharedObject" | Default QB: "qb-core"
Config.Core = "qb-core"
-- oxmysql, mysql-async or ghmattisql
Config.Mysql = "oxmysql"
--Text font used for on-screen alerts. Use 0 if your language is Chinese
Config.alertTextFont = 4
--The type of currency you use on the server
Config.currency = "$"
Vehicle Keys Function
Configure your vehicle keys system:
function jobVehicleKeys(vehicle)
--Example for QB, or change for your key system
--TriggerEvent("vehiclekeys:client:SetOwner", QBCore.Functions.GetPlate(vehicle))
end
Language Configuration
Lang.enter = "Press ~r~E~w~ to change clothes"
Lang.goVehicle = "Get in the work vehicle and drive to the point"
Lang.leaveVehicle = "Get out of the vehicle and get to work"
Lang.startAction = "Press ~r~E~w~ to work"
Lang.infoAction = "Press ~r~X~w~ to exit"
Lang.startProcess = "Press ~r~E~w~ to start process"
Lang.collect = "Press ~r~E~w~ to collect"
Lang.getProcessPoint = "Press ~r~E~w~ to get the path to the process point."
Lang.deliverAction = "Press ~r~E~w~ to deliver the goods"
Lang.noItem = "You need an item to do the job"
Lang.noQuantity = "You don't have enough to sell it. Minimum quantity:"
Lang.howItWorks = "How it works?"
Lang.leaderboard = "Leaderboard"
Lang.cancelled = "You have cancelled the process"
Lang.obtained = "You have obtained an item"
Lang.requires = "REQUIRES"
Lang.work = "WORK!"
Lang.back = "BACK"
Lang.name = "NAME"
Lang.missions = "MISSIONS"
Lang.earned = "EARNED"
Lang.noJob = "You have not been assigned the necessary work"
Lang.noGrade = "You do not have the grade of job required to perform the work."
Lang.jobCenter = "Job Center"
Lang.enterJobCenter = "Press ~g~E~w~ to access the job center"
Notification System
function notifications(notitype, message, time)
--Change this trigger for your notification system keeping the variables
TriggerEvent('codem-notification', message, time, notitype)
end
--Notifications types:
Noti.info = 'info'
Noti.check = 'check'
Noti.error = 'error'
--Notification time:
Noti.time = 5000