Changing mph to kmh
#1

Hello im using GTA RP edit and i want to change mph into kmh but then i'll get one little minor thing that looks weird.. As most peoples knows the max speed of 80 km/h isnt really high, but how do i edit it to be correct..
This is how it looks alike:

Код:
						if(gSpeedo[i] == 2)
						{
							if(distance <10)
							{
								format(string, 256, "~n~~n~~n~~n~~n~~n~~n~~g~mph :  ~w~%.0f",distance);
							}
							if(distance > 10 && distance < 100)
							{
								format(string, 256, "~n~~n~~n~~n~~n~~n~~n~~g~mph : ~w~%.0f",distance);
							}
							if(distance > 100)
							{
								format(string, 256, "~n~~n~~n~~n~~n~~n~~n~~g~mph : ~w~%.0f",distance);
							}
							GameTextForPlayer(i, string, 2000, 5);
						}
						if(distance > maxspeed && PlayerInfo[i][pAdmin] < 1)
						{
							new tmpcar = GetPlayerVehicleID(i);
							if(!IsAPlane(tmpcar))
							{
								GetPlayerName(i, plname, sizeof(plname));
								format(string, 256, "[ADMIN] [%d]%s %.0f mph",i,plname,distance);
								ABroadCast(COLOR_YELLOW,string,1);
							}
						}
					}
				}
Reply


Messages In This Thread
Changing mph to kmh - by Chivava - 05.02.2010, 19:52
Re: Changing mph to kmh - by MadeMan - 05.02.2010, 20:09
Re: Changing mph to kmh - by Chivava - 05.02.2010, 21:06

Forum Jump:


Users browsing this thread: 1 Guest(s)