mirror of
https://github.com/jimathy/jim-payments.git
synced 2026-08-16 22:06:02 +01:00
fix missing variable for polcharge
Fixes missing variable when using /polcharge and the confirmation option
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user