Hey,
wieso zeigt mein Kilometerzähler immer 1,3 Milliarden Kilometer an??
new Tacho[MV] = 0;
stock Kilometer(vehicleid)
{
new Float:kmh = Geschwindigkeit;
if(kmh > 0 || kmh <= 5) {Tacho[vehicleid] += 0.002;}
if(kmh > 5 || kmh <= 10) {Tacho[vehicleid] += 0.004;}
if(kmh > 10 || kmh <= 15) {Tacho[vehicleid] += 0.006;}
if(kmh > 15 || kmh <= 20) {Tacho[vehicleid] += 0.008;}
if(kmh > 20 || kmh <= 25) {Tacho[vehicleid] += 0.010;}
if(kmh > 25 || kmh <= 30) {Tacho[vehicleid] += 0.012;}
if(kmh > 30 || kmh <= 35) {Tacho[vehicleid] += 0.014;}
if(kmh > 35 || kmh <= 40) {Tacho[vehicleid] += 0.016;}
if(kmh > 40 || kmh <= 45) {Tacho[vehicleid] += 0.018;}
if(kmh > 45 || kmh <= 50) {Tacho[vehicleid] += 0.020;}
if(kmh > 50 || kmh <= 55) {Tacho[vehicleid] += 0.022;}
if(kmh > 55 || kmh <= 60) {Tacho[vehicleid] += 0.024;}
if(kmh > 60 || kmh <= 65) {Tacho[vehicleid] += 0.026;}
if(kmh > 65 || kmh <= 70) {Tacho[vehicleid] += 0.028;}
if(kmh > 70 || kmh <= 75) {Tacho[vehicleid] += 0.030;}
if(kmh > 75 || kmh <= 80) {Tacho[vehicleid] += 0.032;}
if(kmh > 80 || kmh <= 85) {Tacho[vehicleid] += 0.034;}
if(kmh > 85 || kmh <= 90) {Tacho[vehicleid] += 0.036;}
if(kmh > 90 || kmh <= 95) {Tacho[vehicleid] += 0.038;}
if(kmh > 95 || kmh <= 100) {Tacho[vehicleid] += 0.040;}
if(kmh > 100 || kmh <= 105) {Tacho[vehicleid] += 0.042;}
if(kmh > 105 || kmh <= 110) {Tacho[vehicleid] += 0.044;}
if(kmh > 110 || kmh <= 115) {Tacho[vehicleid] += 0.046;}
if(kmh > 115 || kmh <= 120) {Tacho[vehicleid] += 0.048;}
if(kmh > 120 || kmh <= 125) {Tacho[vehicleid] += 0.050;}
if(kmh > 125 || kmh <= 130) {Tacho[vehicleid] += 0.052;}
if(kmh > 130 || kmh <= 135) {Tacho[vehicleid] += 0.054;}
if(kmh > 135 || kmh <= 140) {Tacho[vehicleid] += 0.056;}
if(kmh > 140 || kmh <= 145) {Tacho[vehicleid] += 0.058;}
if(kmh > 145 || kmh <= 150) {Tacho[vehicleid] += 0.060;}
if(kmh > 150 || kmh <= 155) {Tacho[vehicleid] += 0.062;}
if(kmh > 155 || kmh <= 160) {Tacho[vehicleid] += 0.064;}
if(kmh > 160 || kmh <= 165) {Tacho[vehicleid] += 0.066;}
if(kmh > 165 || kmh <= 170) {Tacho[vehicleid] += 0.068;}
if(kmh > 170 || kmh <= 175) {Tacho[vehicleid] += 0.070;}
if(kmh > 175 || kmh <= 180) {Tacho[vehicleid] += 0.072;}
if(kmh > 180 || kmh <= 185) {Tacho[vehicleid] += 0.074;}
if(kmh > 185 || kmh <= 190) {Tacho[vehicleid] += 0.076;}
if(kmh > 190 || kmh <= 195) {Tacho[vehicleid] += 0.078;}
if(kmh > 195 || kmh <= 200) {Tacho[vehicleid] += 0.080;}
if(kmh > 200 || kmh <= 205) {Tacho[vehicleid] += 0.082;}
if(kmh > 205 || kmh <= 210) {Tacho[vehicleid] += 0.084;}
if(kmh > 210 || kmh <= 215) {Tacho[vehicleid] += 0.086;}
if(kmh > 215 || kmh <= 220) {Tacho[vehicleid] += 0.088;}
if(kmh > 220 || kmh <= 225) {Tacho[vehicleid] += 0.090;}
if(kmh > 225 || kmh <= 230) {Tacho[vehicleid] += 0.092;}
if(kmh > 230 || kmh <= 235) {Tacho[vehicleid] += 0.094;}
if(kmh > 235 || kmh <= 240) {Tacho[vehicleid] += 0.096;}
if(kmh > 240) { Tacho[vehicleid] += 0.098; }
return Tacho[vehicleid];
}
{
new Float:kmh = Geschwindigkeit;
if(kmh > 0 || kmh <= 5) {Tacho[vehicleid] += 0.002;}
if(kmh > 5 || kmh <= 10) {Tacho[vehicleid] += 0.004;}
if(kmh > 10 || kmh <= 15) {Tacho[vehicleid] += 0.006;}
if(kmh > 15 || kmh <= 20) {Tacho[vehicleid] += 0.008;}
if(kmh > 20 || kmh <= 25) {Tacho[vehicleid] += 0.010;}
if(kmh > 25 || kmh <= 30) {Tacho[vehicleid] += 0.012;}
if(kmh > 30 || kmh <= 35) {Tacho[vehicleid] += 0.014;}
if(kmh > 35 || kmh <= 40) {Tacho[vehicleid] += 0.016;}
if(kmh > 40 || kmh <= 45) {Tacho[vehicleid] += 0.018;}
if(kmh > 45 || kmh <= 50) {Tacho[vehicleid] += 0.020;}
if(kmh > 50 || kmh <= 55) {Tacho[vehicleid] += 0.022;}
if(kmh > 55 || kmh <= 60) {Tacho[vehicleid] += 0.024;}
if(kmh > 60 || kmh <= 65) {Tacho[vehicleid] += 0.026;}
if(kmh > 65 || kmh <= 70) {Tacho[vehicleid] += 0.028;}
if(kmh > 70 || kmh <= 75) {Tacho[vehicleid] += 0.030;}
if(kmh > 75 || kmh <= 80) {Tacho[vehicleid] += 0.032;}
if(kmh > 80 || kmh <= 85) {Tacho[vehicleid] += 0.034;}
if(kmh > 85 || kmh <= 90) {Tacho[vehicleid] += 0.036;}
if(kmh > 90 || kmh <= 95) {Tacho[vehicleid] += 0.038;}
if(kmh > 95 || kmh <= 100) {Tacho[vehicleid] += 0.040;}
if(kmh > 100 || kmh <= 105) {Tacho[vehicleid] += 0.042;}
if(kmh > 105 || kmh <= 110) {Tacho[vehicleid] += 0.044;}
if(kmh > 110 || kmh <= 115) {Tacho[vehicleid] += 0.046;}
if(kmh > 115 || kmh <= 120) {Tacho[vehicleid] += 0.048;}
if(kmh > 120 || kmh <= 125) {Tacho[vehicleid] += 0.050;}
if(kmh > 125 || kmh <= 130) {Tacho[vehicleid] += 0.052;}
if(kmh > 130 || kmh <= 135) {Tacho[vehicleid] += 0.054;}
if(kmh > 135 || kmh <= 140) {Tacho[vehicleid] += 0.056;}
if(kmh > 140 || kmh <= 145) {Tacho[vehicleid] += 0.058;}
if(kmh > 145 || kmh <= 150) {Tacho[vehicleid] += 0.060;}
if(kmh > 150 || kmh <= 155) {Tacho[vehicleid] += 0.062;}
if(kmh > 155 || kmh <= 160) {Tacho[vehicleid] += 0.064;}
if(kmh > 160 || kmh <= 165) {Tacho[vehicleid] += 0.066;}
if(kmh > 165 || kmh <= 170) {Tacho[vehicleid] += 0.068;}
if(kmh > 170 || kmh <= 175) {Tacho[vehicleid] += 0.070;}
if(kmh > 175 || kmh <= 180) {Tacho[vehicleid] += 0.072;}
if(kmh > 180 || kmh <= 185) {Tacho[vehicleid] += 0.074;}
if(kmh > 185 || kmh <= 190) {Tacho[vehicleid] += 0.076;}
if(kmh > 190 || kmh <= 195) {Tacho[vehicleid] += 0.078;}
if(kmh > 195 || kmh <= 200) {Tacho[vehicleid] += 0.080;}
if(kmh > 200 || kmh <= 205) {Tacho[vehicleid] += 0.082;}
if(kmh > 205 || kmh <= 210) {Tacho[vehicleid] += 0.084;}
if(kmh > 210 || kmh <= 215) {Tacho[vehicleid] += 0.086;}
if(kmh > 215 || kmh <= 220) {Tacho[vehicleid] += 0.088;}
if(kmh > 220 || kmh <= 225) {Tacho[vehicleid] += 0.090;}
if(kmh > 225 || kmh <= 230) {Tacho[vehicleid] += 0.092;}
if(kmh > 230 || kmh <= 235) {Tacho[vehicleid] += 0.094;}
if(kmh > 235 || kmh <= 240) {Tacho[vehicleid] += 0.096;}
if(kmh > 240) { Tacho[vehicleid] += 0.098; }
return Tacho[vehicleid];
}