Speedo Help again :/
#2

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:
pawn Код:
SetTimer("Speedometer",1000,true);
...to this:
pawn Код:
SetTimerEx("Speedometer",1000,true,"i",i);
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!
Reply


Messages In This Thread
Speedo Help again :/ - by futuretrucker - 12.06.2011, 16:08
Re: Speedo Help again :/ - by Benjo - 12.06.2011, 16:42
Re: Speedo Help again :/ - by Iphone1234g - 12.06.2011, 16:45
Re: Speedo Help again :/ - by futuretrucker - 12.06.2011, 18:40
Re: Speedo Help again :/ - by alpha500delta - 12.06.2011, 19:16
Re: Speedo Help again :/ - by futuretrucker - 12.06.2011, 19:25
Re: Speedo Help again :/ - by alpha500delta - 12.06.2011, 19:53
Re: Speedo Help again :/ - by futuretrucker - 12.06.2011, 22:51
Re: Speedo Help again :/ - by Scenario - 12.06.2011, 23:18
Re: Speedo Help again :/ - by Benjo - 12.06.2011, 23:40

Forum Jump:


Users browsing this thread: 1 Guest(s)