05.03.2015, 20:52
So currently in my script i have a speedo that does not update fast, it updates the speed every 2-3 second. I wanted it to be like every 0.5-1 second. Where should i change this? Is it a timer or something?
Y_timers:
Not running a timer is always more efficient than running one. |
#include <YSI\y_timers>
task UpdateSpeedo[250]()
{
foreach(Player, i)
{
if(speedo[i] != 0) // change your var and code..
{
// bla bla.
}
}
return true;
}