stock GetVehicleSpeed(vehicleid)
{
new Float:X,Float:Y,Float:Z;
new Float:Speed;
GetVehicleVelocity(vehicleid, X, Y, Z);
Speed = floatsqroot(X*X + Y*Y + Z*Z)*200;
new dd;
dd = floatround(Speed);
return dd;
}
falls du das auch noch brauchst
SetVehicleSpeed(vehicleid, 140); //140 ist nicht extrem schnell, aber es geht (sind kmh)