mirror of
https://github.com/jimathy/jim-payments.git
synced 2026-08-17 06:16:02 +01:00
Support for upcoming features
This commit is contained in:
@@ -55,10 +55,9 @@ RegisterNetEvent('jim-payments:client:Charge', function()
|
|||||||
end
|
end
|
||||||
dist = nil
|
dist = nil
|
||||||
end
|
end
|
||||||
|
if data.img ~= nil then img = data.img else img = "" end
|
||||||
|
|
||||||
if nearbyList[#nearbyList] == nil then TriggerEvent("QBCore:Notify", "No one near by to charge", "error") return end
|
if nearbyList[#nearbyList] == nil then TriggerEvent("QBCore:Notify", "No one near by to charge", "error") return end
|
||||||
local dialog = exports['qb-input']:ShowInput({ header = PlayerJob.label.." Cash Register", submitText = "Send",
|
local dialog = exports['qb-input']:ShowInput({ header = img..PlayerJob.label.." Cash Register", submitText = "Send",
|
||||||
inputs = {
|
inputs = {
|
||||||
{ text = " ", name = "citizen", type = "select", options = nearbyList },
|
{ text = " ", name = "citizen", type = "select", options = nearbyList },
|
||||||
{ type = 'radio', name = 'billtype', text = 'Payment Type', options = { { value = "cash", text = "Cash" }, { value = "card", text = "Card" } } },
|
{ type = 'radio', name = 'billtype', text = 'Payment Type', options = { { value = "cash", text = "Cash" }, { value = "card", text = "Card" } } },
|
||||||
|
|||||||
Reference in New Issue
Block a user