Tweak: ESX Property - Optimisations

This commit is contained in:
Mycroft
2022-03-24 19:03:00 +00:00
parent c2029077ad
commit 5fe0a660bd
2 changed files with 3 additions and 8 deletions
+2 -7
View File
@@ -860,17 +860,15 @@ CreateThread(function()
end
if letSleep then
Wait(500)
Wait(1500)
end
end
end)
-- Key controls
CreateThread(function()
while true do
while CurrentAction do
Wait(0)
if CurrentAction then
ESX.ShowHelpNotification(CurrentActionMsg)
if IsControlJustReleased(0, 38) then
@@ -890,8 +888,5 @@ CreateThread(function()
CurrentAction = nil
end
else
Wait(500)
end
end
end)
+1 -1
View File
@@ -1,6 +1,6 @@
Config = {}
Config.DrawDistance = 100
Config.DrawDistance = 10.0
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}