Get Vehicle speed.
#10

You have the wrong values.

pawn Код:
final_speed = floatsqroot(((speed_x*speed_x)+(speed_y*speed_y))+(speed_z*speed_z))*199.4166672; // 250.666667 = kmph  // 199,4166672= mph
It should be 180.0 - 181.5 for kmh those numbers that you have are out to lunch and make no sense given all the testing done.

As for your original problem you have no code checking, if they are in a driving test at all so you probably didn't even write this script so you should really ask the creator of the script for help.
Reply


Messages In This Thread
Get Vehicle speed. - by Mey6155 - 27.05.2014, 17:14
Re: Get Vehicle speed. - by YoungKris - 27.05.2014, 17:17
Re: Get Vehicle speed. - by Mey6155 - 27.05.2014, 17:19
Re: Get Vehicle speed. - by doreto - 27.05.2014, 17:43
Re: Get Vehicle speed. - by Mey6155 - 27.05.2014, 17:58
Re: Get Vehicle speed. - by Pottus - 27.05.2014, 18:13
Re: Get Vehicle speed. - by Lacamora - 27.05.2014, 18:23
Re: Get Vehicle speed. - by Mey6155 - 28.05.2014, 06:21
Re: Get Vehicle speed. - by Mey6155 - 28.05.2014, 13:54
Re: Get Vehicle speed. - by Pottus - 28.05.2014, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)