questions

  1. F

    wait while using threads

    So i got something like this: function event.onPlayerSync(playerId, data) lua_thread.create(function() if data.weapon == 0 then -- do something wait(10000) end end) end The problem is that it won't wait 10 seconds because of the thread create.