mirror of
https://github.com/jimathy/jim-payments.git
synced 2026-08-17 06:16:02 +01:00
add if statement to prop removal, just incase
This commit is contained in:
@@ -108,8 +108,10 @@ RegisterNetEvent(getScript()..":client:Charge", function(data, outside)
|
|||||||
billPrev = dialog.billtype
|
billPrev = dialog.billtype
|
||||||
TriggerServerEvent(getScript()..":server:Charge", dialog.citizen, dialog.price, dialog.billtype, data.img, outside, gang)
|
TriggerServerEvent(getScript()..":server:Charge", dialog.citizen, dialog.price, dialog.billtype, data.img, outside, gang)
|
||||||
end
|
end
|
||||||
destroyProp(prop)
|
if Config.General.Usebzzz then
|
||||||
stopAnim('cellphone@', 'cellphone_text_read_base')
|
destroyProp(prop)
|
||||||
|
stopAnim('cellphone@', 'cellphone_text_read_base')
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
RegisterNetEvent(getScript()..":client:PayPopup", function(amount, biller, billtype, img, billerjob, gang, outside)
|
RegisterNetEvent(getScript()..":client:PayPopup", function(amount, biller, billtype, img, billerjob, gang, outside)
|
||||||
|
|||||||
Reference in New Issue
Block a user