Speedometer.....
#9

Add this under your defines and includes:

pawn Код:
enum PlayerStatistics
{
Speedo
);
Add this with your stocks:

pawn Код:
stock Reset(playerid)
{
Player[playerid][Speedo] = 1;
return 1;
}
Add this somewhere in your script:
pawn Код:
if(IsPlayerInAnyVehicle(i) && Player[i][Speedo] == 1)
            {
                new string[60];
                format(string, sizeof(string), "~n~~n~~n~~n~~n~~n~~n~ ~R~%d KM/H", GetPlayerSpeed(i, 0));
                GameTextForPlayer(i, string, 1000, 3);
            }
Then that shall do it!
Reply


Messages In This Thread
Speedometer..... - by Gh0sT_ - 13.11.2010, 09:10
Re: Speedometer..... - by Gh0sT_ - 14.11.2010, 08:54
Re: Speedometer..... - by SampStunta - 14.11.2010, 09:00
Re: Speedometer..... - by Gh0sT_ - 14.11.2010, 11:51
Re: Speedometer..... - by dark_clown - 14.11.2010, 11:53
Re: Speedometer..... - by Gh0sT_ - 14.11.2010, 12:20
Re: Speedometer..... - by SampStunta - 14.11.2010, 19:30
Re: Speedometer..... - by Mean - 14.11.2010, 19:52
Re: Speedometer..... - by SampStunta - 14.11.2010, 21:32

Forum Jump:


Users browsing this thread: 1 Guest(s)