23.01.2012, 20:40
There's your problem:
You make public functions for fuel and speed, but you make another function, that updates those two functions faster, then your these two:
pawn Код:
SetTimer("SpeedoUpdate",300,1);
pawn Код:
SetTimer("FuelUpdate",20000,1);
SetTimer("FuelSave", 4000, 1);
pawn Код:
SetTimer("SpeedoUpdate", 10000,1); // A 10 sec. timer update for fuel and speed.