31.03.2011, 15:10
Код:
final_speed = floatsqroot((speed_x * speed_x) + (speed_y * speed_y) + (speed_z * speed_z)) * 158.179;
final_speed = floatsqroot((speed_x * speed_x) + (speed_y * speed_y) + (speed_z * speed_z)) * 158.179;
Thanks, only 1 problem left. When driving backwards it's giving me 50km/h... which is to fast lol (in a infernus)
it should be around 20km/h |