Config Preview
Config = {} -- don't touch
Locale = {} -- don't touch
--[[
_____ ___ ___ ____ _____ ______ ______ _______ _____ _______ _________ ______
|_ _| .' `.|_ ||_ _| |_ _|.' ____ \ .' ___ ||_ __ \ |_ _||_ __ \ | _ _ |.' ____ \
| | / .-. \ | |_/ / | | | (___ \_|/ .' \_| | |__) | | | | |__) ||_/ | | \_|| (___ \_|
| | _ | | | | | __'. | | _.____`. | | | __ / | | | ___/ | | _.____`.
_| |__/ |\ `-' /_| | \ \_ _| |_ | \____) |\ `.___.'\ _| | \ \_ _| |_ _| |_ _| |_ | \____) |
|________| `.___.'|____||____||_____| \______.' `.____ .'|____| |___||_____||_____| |_____| \______.'
_____ ___ ___ ____ _____ _____ ___ ______ _________ _____ ____ ____ ________
|_ _| .' `.|_ ||_ _| |_ _| |_ _|.' `.|_ _ \ | _ _ ||_ _||_ \ / _||_ __ |
| | / .-. \ | |_/ / | | | | / .-. \ | |_) ||_/ | | \_| | | | \/ | | |_ \_|
| | _ | | | | | __'. | | _ | | | | | | | __'. | | | | | |\ /| | | _| _
_| |__/ |\ `-' /_| | \ \_ _| |_ _______ | |__' | \ `-' /_| |__) | _| |_ _| |_ _| |_\/_| |_ _| |__/ |
|________| `.___.'|____||____||_____||_______|`.____.' `.___.'|_______/ |_____| |_____||_____||_____||________|
--]]
-- READ THE DOCUMENTATION FOR MORE INFO
-- OPEN A TICKET IF YOU NEED MORE HELP
-- Framework is detected automatically. Compatible are ESX, QB-Core and QBOX
------------------------ General -------------------
Config.Locale = "en" -- available languages: en, de
Config.Currency = "โฌ" -- currency shown in ui and notifications
Config.CreateTables = true -- auto create necessary database tables on script start
Config.Webhook = nil -- discord webhook link for logs, nil to disable
-- jobs and ranks that are allowed to access the employee data
Config.BossGrades = {
police = 3,
}
Config.Jobswitches = { -- with this you can configure a second job for specific people. They can switch via the menu, if they are in job1 and switch, they get job 2 and vise versa
{ -- you can add as many more as you'd like
identifier = "youridentifier",
job1 = "police",
grade1 = 4,
job2 = "ambulance",
grade2 = 3
},
}
Config.PaycheckInterval = 60 -- playtime in job in minutes for one paycheck. Remember to turn off your frameworks paychecks to avoid double salary!
Config.PaycheckFromSociety = true -- if true the players salary will be paid from company society. esx_society is required
function customPaycheck(source, salary, identifier)
-- This function is triggered after the paycheck, so the player already got their money
-- you can use this for example to insert the data into your banking script as a transaction
end
---------------------- Notifications ---------------
Config.Notification = 'custom' -- Available notification systems: okokNotify, esx, lib (ox_lib), RiP-Notify, qb, wasabi_notify, mythic_notify, sy_notify, custom
---- Write your custom Notify system here if you wish to use your own
function CustomNotify(type, msg, heading, source)
-- Your Custom function goes here
-- Used types are error, success and info
-- msg is the displayed notification text
-- heading is for systems like okokNotify with headings on the notification. Just dont use it if your system does not have one.
-- currentID is the server ID of the player that gets the notification
print('customNotify')
endLast updated