23.09.2014, 18:36
pawn Код:
vInfo[iVehicleID][vMeters] += floatround(floatdiv(GetVehicleSpeed(iVehicleID), 65));
if(vInfo[iVehicleID][vMeters] > 9)
{
vInfo[iVehicleID][vKm] += 1;
vInfo[iVehicleID][vMeters] = 0;
}
vInfo[iVehicleID][vMeters] += floatround(floatdiv(GetVehicleSpeed(iVehicleID), 65));
if(vInfo[iVehicleID][vMeters] > 9)
{
vInfo[iVehicleID][vKm] += 1;
vInfo[iVehicleID][vMeters] = 0;
}