From 100323927eba525ece490a995bd31e2e669d3524 Mon Sep 17 00:00:00 2001 From: jimathy Date: Thu, 5 May 2022 21:39:09 +0100 Subject: [PATCH] Explanation of new duty variables --- server.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/server.lua b/server.lua index 7323810..1ad94b7 100644 --- a/server.lua +++ b/server.lua @@ -20,6 +20,7 @@ RegisterServerEvent('jim-payments:Tickets:Give', function(data, biller) if Player.PlayerData.citizenid == data.senderCitizenId then biller = Player end end end + -- Find out of person who sent the payment is on duty, this is then used to decide weather to give tickets or not local duty = true if biller.PlayerData.job.onduty then duty = true else duty = false end if Config.Manage then exports["qb-management"]:AddMoney(tostring(biller.PlayerData.job.name), data.amount)