mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 01:38:52 +00:00
fix- Property - StoredVehicles error
This commit is contained in:
@@ -283,7 +283,7 @@ ESX.RegisterServerCallback("esx_property:sellProperty", function(source, cb, Pro
|
||||
{name = "**Price**", value = ESX.Math.GroupDigits(Price), inline = true},
|
||||
{name = "**Owner**", value = xPlayer.getName(), inline = true},
|
||||
{name = "**Furniture Count**", value = tostring(furn), inline = true},
|
||||
{name = "**Vehicle Count**", value = tostring(#Properties[PropertyId].garage.StoredVehicles), inline = true}}, 1)
|
||||
{name = "**Vehicle Count**", value = tostring(Properties[PropertyId].garage.StoredVehicles and #Properties[PropertyId].garage.StoredVehicles or "N/A"), inline = true}}, 1)
|
||||
if Properties[PropertyId].garage.StoredVehicles then
|
||||
Properties[PropertyId].garage.StoredVehicles = {}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user