14.11.2010, 21:32
Add this under your defines and includes:
Add this with your stocks:
Add this somewhere in your script:
Then that shall do it!
pawn Код:
enum PlayerStatistics
{
Speedo
);
pawn Код:
stock Reset(playerid)
{
Player[playerid][Speedo] = 1;
return 1;
}
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);
}