SetTimer problems
#1

I want a 5ms timer (every 5ms), but by passing values like this:
SetTimerEx("YouWillKnow", SMT, 0, "iifff", playerid, vehicleid, Xp, Yp, Zp);
In each call end, but i get quite jittery result. Possibly from PC rendering resulting in slower calculations (note, if even 1ms counts already as 1/5).
So what should I do?
Make it a "static" timer which loops, or call each time?
And I guess for performance in every 5ms I'm going to have to make global arrays? (Reason for not to - I hate global arrays ... note for you, I hate server properties and PVars in unneeded context even more ;P actually the same for CVars, static values, 4 byte variables)
Reply
#2

I don't know exactly what you mean, can you give me an example?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)