mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-02 11:18:53 +00:00
Merge pull request #892 from ic3d00/main
feat(es_extended/config.lua): Config.EnablePaycheck option
This commit is contained in:
@@ -22,6 +22,7 @@ Config.DefaultSpawn = {x = -269.4, y = -955.3, z = 31.2, heading = 205.8}
|
||||
|
||||
Config.EnableSocietyPayouts = false -- pay from the society account that the player is employed at? Requirement: esx_society
|
||||
Config.MaxWeight = 24 -- the max inventory weight without backpack
|
||||
Config.EnablePaycheck = true -- enable paycheck
|
||||
Config.PaycheckInterval = 7 * 60000 -- how often to recieve pay checks in milliseconds
|
||||
Config.EnableDebug = false -- Use Debug options?
|
||||
Config.EnableDefaultInventory = true -- Display the default Inventory ( F2 )
|
||||
|
||||
@@ -66,7 +66,9 @@ MySQL.ready(function()
|
||||
print(('[^2INFO^7] ESX ^5Legacy %s^0 initialized!'):format(GetResourceMetadata(GetCurrentResourceName(), "version", 0)))
|
||||
|
||||
StartDBSync()
|
||||
StartPayCheck()
|
||||
if Config.EnablePaycheck then
|
||||
StartPayCheck()
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterServerEvent('esx:clientLog')
|
||||
|
||||
Reference in New Issue
Block a user