From 954b208016c2482ebc7a357367558a3b7fc32345 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Mon, 19 May 2025 15:20:26 +0100 Subject: [PATCH] add `if` statement to prop removal, just incase --- client/charge.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/charge.lua b/client/charge.lua index 68690bc..b77cc6b 100644 --- a/client/charge.lua +++ b/client/charge.lua @@ -108,8 +108,10 @@ RegisterNetEvent(getScript()..":client:Charge", function(data, outside) billPrev = dialog.billtype TriggerServerEvent(getScript()..":server:Charge", dialog.citizen, dialog.price, dialog.billtype, data.img, outside, gang) end - destroyProp(prop) - stopAnim('cellphone@', 'cellphone_text_read_base') + if Config.General.Usebzzz then + destroyProp(prop) + stopAnim('cellphone@', 'cellphone_text_read_base') + end end) RegisterNetEvent(getScript()..":client:PayPopup", function(amount, biller, billtype, img, billerjob, gang, outside)