[Ajuda] Trocar de velocimetro
#1

Bom preciso de ajuda

Код:
forward Velocimetro();
public Velocimetro()
{
	new Float:Speedo_HP;
	for(new i=0; i<MAX_PLAYERS; i++)
	{
     if(gPlayerLogged[i] == 1 && IsPlayerInAnyVehicle(i))
		{
      new vehicle = GetPlayerVehicleID(i);
			GetVehicleHealth(vehicle, Speedo_HP);
			new string[256];
  	format(string,sizeof(string),"~r~Veiculo:~g~~h~~h~%s~n~~~~r~Velocidade:~g~~h~~h~ %d KM/h~n~~~~r~Combustivel:~g~~h~~h~%d%%~n~~~~r~Lataria:~g~~h~~h~%0.0f%%~n~~~~r~GPS:~g~~h~~h~%s" ,vehName[GetVehicleModel(vehicle)-400], GetPlayerSpeed(i, true), Gas[vehicle], Speedo_HP/10, ReturnPlayerZone(i));
			TextDrawSetString(Speed[i], string);

			if(TextShow[i] == false)
			{
				TextDrawShowForPlayer(i, Speed[i]);
				TextShow[i] = true;
			}
		}
		else
		{
		    if(TextShow[i] == true)
		    {
            	TextDrawHideForPlayer(i, Speed[i]);
				TextShow[i] = false;
			}
		}
	}
}
Como troca ele quero por o do Play Hard.
Reply
#2

up..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)