30.08.2009, 23:32
So i have a problem i dont know how to solve so i hope you may help me with this.
the thing i need help with is Speedo meter and fuel
When i enter a vehicle the Speed pops up and after a while the fuel pops up and just dissipairs how to fix this so both is visible
Here is the fuel code
and here is the speedo code
the thing i need help with is Speedo meter and fuel
When i enter a vehicle the Speed pops up and after a while the fuel pops up and just dissipairs how to fix this so both is visible
Here is the fuel code
Код:
{
format(string, sizeof(string), "~b~~n~~n~~n~~n~~n~~n~~n~~n~Fuel:~w~ N/A");
}
else
{
format(string, sizeof(string), "~b~~n~~n~~n~~n~~n~~n~~n~~n~Fuel:~w~ %d%",Gas[vehicle]);
}
GameTextForPlayer(i,string,20500,3); }
Код:
{
if(distance <10)
{
format(string, 256, "~n~~n~~n~~n~~n~~n~~n~~g~speed : ~w~%.0f",distance);
}
if(distance > 10 && distance < 100)
{
format(string, 256, "~n~~n~~n~~n~~n~~n~~n~~g~speed : ~w~%.0f",distance);
}
if(distance > 100)
{
format(string, 256, "~n~~n~~n~~n~~n~~n~~n~~g~speed : ~w~%.0f",distance);
}
GameTextForPlayer(i, string, 2000, 5);
}


