diff --git a/client/main.lua b/client/main.lua index 715611bf..04e00eb6 100644 --- a/client/main.lua +++ b/client/main.lua @@ -796,7 +796,9 @@ Citizen.CreateThread(function() if distance < Config.DrawDistance then DrawMarker(Config.MarkerType, property.entering.x, property.entering.y, property.entering.z, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Config.MarkerSize.x, Config.MarkerSize.y, Config.MarkerSize.z, Config.MarkerColor.r, Config.MarkerColor.g, Config.MarkerColor.b, 100, false, true, 2, false, nil, nil, false) - ESX.Game.Utils.DrawText3D(property.entering, property.name, 2) + if Config.MarkerText == true then + ESX.Game.Utils.DrawText3D(property.entering, property.name, 2) + end letSleep = false end diff --git a/config.lua b/config.lua index d1888658..8321b924 100644 --- a/config.lua +++ b/config.lua @@ -5,6 +5,7 @@ Config.MarkerSize = {x = 1.5, y = 1.5, z = 1.0} Config.MarkerColor = {r = 102, g = 102, b = 204} Config.RoomMenuMarkerColor = {r = 102, g = 204, b = 102} Config.MarkerType = 1 +Config.MarkerText = true Config.RentModifier = 200 -- rent price: / (rounded) Config.SellModifier = 2 -- sell price: / (rounded)