need help with speedometer
#1

I start making a speedometer for my server but i can't.

This will be the Textdraw:

pawn Код:
Textdraw3 = TextDrawCreate(548 ,416 , "Speed");
TextDrawFont(Textdraw3 , 3);
TextDrawLetterSize(Textdraw3 , 0.4, 2.8000000000000003);
TextDrawColor(Textdraw3 , 0xffffffFF);
TextDrawSetOutline(Textdraw3 , false);
TextDrawSetProportional(Textdraw3 , true);
TextDrawSetShadow(Textdraw3 , 1);
and this will be the public:

pawn Код:
public SpeedMeter()
{
    for(new x; x<MAX_PLAYERS; x++)
    {
          new TDstring[256];
          format(TDstring, sizeof(TDstring), "~w~Speed: %i");
          TextDrawSetString(Textdraw3[x], TDstring);
    }
    return 1;
}
So i need help how to get the speed and then to show it to players
Reply


Messages In This Thread
need help with speedometer - by MrTinder - 26.10.2013, 13:18
Re: need help with speedometer - by MrTinder - 26.10.2013, 16:01
Re: need help with speedometer - by DanishHaq - 26.10.2013, 16:02
Re: need help with speedometer - by MrTinder - 26.10.2013, 16:38
Re: need help with speedometer - by MrTinder - 26.10.2013, 18:22
Re: need help with speedometer - by Pottus - 26.10.2013, 18:45
Re: need help with speedometer - by LoLeC - 26.10.2013, 19:09
Re: need help with speedometer - by Pottus - 26.10.2013, 19:27
Re: need help with speedometer - by RayDcosta - 26.10.2013, 19:42

Forum Jump:


Users browsing this thread: 1 Guest(s)