From 18b82cb8164e7668de7649c4ab583f88b04d93d3 Mon Sep 17 00:00:00 2001 From: ic3d_ <65400214+ic3d00@users.noreply.github.com> Date: Mon, 13 Feb 2023 17:27:26 +0000 Subject: [PATCH 1/2] Update common.lua | Add Config.EnablePaycheck --- [core]/es_extended/server/common.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/[core]/es_extended/server/common.lua b/[core]/es_extended/server/common.lua index 3e4b9671..16af44cb 100644 --- a/[core]/es_extended/server/common.lua +++ b/[core]/es_extended/server/common.lua @@ -96,7 +96,9 @@ MySQL.ready(function() print('[^2INFO^7] ESX ^5Legacy 1.9.1^0 initialized!') StartDBSync() - StartPayCheck() + if Config.EnablePaycheck then + StartPayCheck() + end end) RegisterServerEvent('esx:clientLog') From 80628eaa4f915d9cdc30e5d8f56b8f61afbec204 Mon Sep 17 00:00:00 2001 From: ic3d_ <65400214+ic3d00@users.noreply.github.com> Date: Mon, 13 Feb 2023 17:28:00 +0000 Subject: [PATCH 2/2] Update config.lua | Add Config.EnablePaycheck --- [core]/es_extended/config.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index 2f465f82..f47052cd 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -20,6 +20,7 @@ Config.StartingAccountMoney = {bank = 50000} 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 )