Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
You want it to loop/repeat...? That may be the issue... If it's too busy looping for a specific player it might not end up working for the player you want it to. Just a thought.
Posts: 1,079
Threads: 199
Joined: Jun 2013
Reputation:
0
I don't think that's the issue.
Posts: 1,661
Threads: 47
Joined: May 2013
Reputation:
0
use a loop
edit; dont use "25", its called in ms, so using 25 is worse than using OnPlayerUpdate
Posts: 1,079
Threads: 199
Joined: Jun 2013
Reputation:
0
The problem with that is, it needs to loop at 25 ms to keep the movement of an object as smooth as possible, else the object moves jerky and static-like.
I'm not trying to make the timer start for all players at once, only the player who used the command. For now, it only works on ID 0, or the first player to use the command, I'm guessing.
Posts: 1,661
Threads: 47
Joined: May 2013
Reputation:
0
It doesn't need to run on 25 ms, because if it does it'll be going faster than necessary. Using 25ms is extremely inefficient as well.
Also, if you showed us your actual code instead of 3 line snippets we'd be able to help you better.
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
You are probably better using OPU than a timer to be honest.