From 1764be532879cc550429aeea8b700d0e2e23c5cb Mon Sep 17 00:00:00 2001 From: Mycroft Date: Fri, 23 Sep 2022 00:49:32 +0100 Subject: [PATCH] fix+tweak(esx_property): Remove Debug Prints + uniform prints --- [esx_addons]/esx_property/client/cctv.lua | 1 - [esx_addons]/esx_property/server/main.lua | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[esx_addons]/esx_property/client/cctv.lua b/[esx_addons]/esx_property/client/cctv.lua index c226520a..7f1387fd 100644 --- a/[esx_addons]/esx_property/client/cctv.lua +++ b/[esx_addons]/esx_property/client/cctv.lua @@ -230,7 +230,6 @@ function CCTV(PropertyID) if hook then exports['screenshot-basic']:requestScreenshotUpload(hook, "files[]", function(data) local image = json.decode(data) - print(ESX.DumpTable(image)) ESX.ShowNotification(_U("picture_taken"), "success") SendNUIMessage({link = image.attachments[1].proxy_url}) ESX.ShowNotification(_U("clipboard"), "success") diff --git a/[esx_addons]/esx_property/server/main.lua b/[esx_addons]/esx_property/server/main.lua index d18c52a4..32dbef53 100644 --- a/[esx_addons]/esx_property/server/main.lua +++ b/[esx_addons]/esx_property/server/main.lua @@ -72,7 +72,7 @@ function PropertiesRefresh() end else Properties = {} - print("[ERROR]: Properties.json Not Found!") + print("[^1ERROR^7]: ^5Properties.json^7 Not Found!") end end @@ -1052,7 +1052,6 @@ RegisterNetEvent('esx_property:server:createProperty', function(Property) local source = source local xPlayer = ESX.GetPlayerFromId(source) local Interior = GetInteriorValues(Property.interior) - print(ESX.DumpTable(Property)) local garageData = Property.garage.enabled and {enabled = true, pos = Property.garage.pos, Heading = Property.garage.heading, StoredVehicles = {}} or {enabled = false}