mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
Tweak: ESX Property - Optimisations
This commit is contained in:
@@ -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,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}
|
||||
|
||||
Reference in New Issue
Block a user