fix missing variable for polcharge

Fixes missing variable when using /polcharge and the confirmation option
This commit is contained in:
Jim Shield
2025-05-14 20:23:41 +01:00
parent ca625c50e2
commit f869c682c1

View File

@@ -73,7 +73,7 @@ RegisterNetEvent(getScript()..":client:PolCharge", function()
end end
end) end)
RegisterNetEvent(getScript()..":client:PolPopup", function(amount, biller, billerjob) RegisterNetEvent(getScript()..":client:PolPopup", function(amount, biller, billerjob, commPercent)
local Menu = {} local Menu = {}
Menu[#Menu+1] = { Menu[#Menu+1] = {
isMenuHeader = true, isMenuHeader = true,
@@ -89,6 +89,7 @@ RegisterNetEvent(getScript()..":client:PolPopup", function(amount, biller, bille
accept = true, accept = true,
amount = amount, amount = amount,
biller = biller, biller = biller,
commPercent = commPercent,
}) })
end, end,
} }