mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
Added Marker Text display to config
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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: <property price> / <rent modifier> (rounded)
|
||||
Config.SellModifier = 2 -- sell price: <property price> / <sell modifier> (rounded)
|
||||
|
||||
Reference in New Issue
Block a user