25.01.2014, 06:33
Quote:
You can't make a specific player wait to execute code as you can't run code for specific players, everything runs on one thread one thing after another. If that thread is paused (with a wait() function for example) the entire server will stop.
Check out this thread for more info: https://sampforum.blast.hk/showthread.php?tid=257660 If you want an easier way to write timer code, check out y_timers. That library decreases the amount of writing you need to do for deferred or repeated functions. |