add if statement to prop removal, just incase

This commit is contained in:
Jim Shield
2025-05-19 15:20:26 +01:00
parent 51265681c1
commit 954b208016

View File

@@ -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)