fix slow autoupdate

test-utf-8
lionur 2 years ago
parent 561caf42de
commit 47da55918f
  1. 3
      TruckHUD.lua

@ -172,6 +172,7 @@ afk_solo_message_false = 0
function main() function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(0) end while not isSampAvailable() do wait(0) end
lua_thread.create(script_update.main)
try(function() try(function()
sampev = require "lib.samp.events" sampev = require "lib.samp.events"
@ -225,8 +226,6 @@ function main()
lua_thread.create(luChecker.checker) lua_thread.create(luChecker.checker)
lua_thread.create(doCruise) lua_thread.create(doCruise)
lua_thread.create(script_update.main)
repeat repeat

Loading…
Cancel
Save