fix+tweak(esx_property): Remove Debug Prints + uniform prints

This commit is contained in:
Mycroft
2022-09-23 00:49:32 +01:00
parent 679fb8b9eb
commit 1764be5328
2 changed files with 1 additions and 3 deletions
@@ -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")
+1 -2
View File
@@ -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}