14.07.2010, 11:40
(
Последний раз редактировалось KnooL; 14.07.2010 в 12:56.
)
pawn Код:
format(tds,sizeof(tds),"Time: %d:%d:%d~n~Phone: %d~n~Bank: $%d~n~Age: %d~n~Skin: %d~n~GPS: %s", hours, minutes, seconds, PlayerInfo[i][pPnumber], PlayerInfo[i][pBank], PlayerInfo[i][pAge], PlayerInfo[i][pSkin], zone); }
Edit:
This happens when driving over 120 km/h:
pawn Код:
if( SPEED[i] == 0 )
{
format(tds,sizeof(tds),"Vehicle: %s~n~Health: %.2f~n~Fuel: %.1f~n~GPS: %s~n~Status: %s",VehiclesName[GetVehicleModel(GetPlayerVehicleID(i))-400],health,Fuel[GetPlayerVehicleID(i)],zone,status);
}
else if( SPEED[i] >= 1 && SPEED[i] <= 60)
{
format(tds,sizeof(tds),"Vehicle: %s~n~Health: %.2f~n~Fuel: %.1f~n~GPS: %s~n~Status: %s~n~~w~KM/H: %d",VehiclesName[GetVehicleModel(GetPlayerVehicleID(i))-400],health,Fuel[GetPlayerVehicleID(i)],zone,status,LKPH[i]);
Fuel[GetPlayerVehicleID(i)] -= 0.02;
}
else if( SPEED[i] >= 61 && SPEED[i] <= 120 )
{
format(tds,sizeof(tds),"Vehicle: %s~n~Health: %.2f~n~Fuel: %.1f~n~GPS: %s~n~Status: %s~n~~w~KM/H: %d",VehiclesName[GetVehicleModel(GetPlayerVehicleID(i))-400],health,Fuel[GetPlayerVehicleID(i)],zone,status,LKPH[i]);
Fuel[GetPlayerVehicleID(i)] -= 0.03;
}
else
{
format(tds,sizeof(tds),"Time: %d:%d:%d~n~Vehicle: %s~n~Health: %.2f~n~Fuel: %.1f~n~GPS: %s~n~Status: %s~n~~w~KM/H: %d",VehiclesName[GetVehicleModel(GetPlayerVehicleID(i))-400],health,Fuel[GetPlayerVehicleID(i)],zone,status,LKPH[i]);
Fuel[GetPlayerVehicleID(i)] -= 0.05;
}