From 35e166d049c94c47adcfcd9d3ddf53e8bc8d93fa Mon Sep 17 00:00:00 2001 From: jimathy Date: Thu, 5 May 2022 21:37:45 +0100 Subject: [PATCH] don't need the variable here --- server.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.lua b/server.lua index 6f42d27..7323810 100644 --- a/server.lua +++ b/server.lua @@ -86,7 +86,7 @@ QBCore.Functions.CreateCallback('jim-payments:Ticket:Count', function(source, cb cb(amount) end) -RegisterServerEvent("jim-payments:server:Charge", function(citizen, price, billtype, img, outside) +RegisterServerEvent("jim-payments:server:Charge", function(citizen, price, billtype, img) local src = source local biller = QBCore.Functions.GetPlayer(src) local billed = QBCore.Functions.GetPlayer(tonumber(citizen)) @@ -147,4 +147,4 @@ QBCore.Functions.CreateCallback('jim-payments:MakePlayerList', function(source, onlineList[#onlineList+1] = { value = tonumber(v), text = "["..v.."] - "..P.PlayerData.charinfo.firstname..' '..P.PlayerData.charinfo.lastname } end cb(onlineList) -end) \ No newline at end of file +end)