12.06.2011, 16:42
The first thing I notice is that your Speedometer function has one parameter: playerid. However, when you set your timer up to call the function, it does not supply the playerid. The first step would be to modify this:
...to this:
Here is the wiki entry for SetTimerEx - https://sampwiki.blast.hk/wiki/SetTimerEx
I haven't looked too much into the rest, but give my suggestion a go and see what happens. Good luck!
pawn Код:
SetTimer("Speedometer",1000,true);
pawn Код:
SetTimerEx("Speedometer",1000,true,"i",i);
I haven't looked too much into the rest, but give my suggestion a go and see what happens. Good luck!