05.02.2010, 19:52
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:
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); } } } }