SA-MP Forums Archive
[Request] Vehicle mileage to calculate the - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Request] Vehicle mileage to calculate the (/showthread.php?tid=441447)



[Request] Vehicle mileage to calculate the - Omirrow - 02.06.2013

Hi, I will make a few requests.

1000 meters from the car goes "Km [MAX_VEHICLES]" variable, one can calculate exactly how it will grow?


NOTE: My English is not very good, I get dictionary supporting


Re: [Request] Vehicle mileage to calculate the - Omirrow - 03.06.2013

Up Try.


Re: [Request] Vehicle mileage to calculate the - RenSoprano - 03.06.2013

Код:
floatmul(floatsqroot(floatadd(floatadd(floatpower(X, 2), floatpower(Y, 2)),  floatpower(Z, 2))), 200.0);
It should look something like that


Re: [Request] Vehicle mileage to calculate the - Omirrow - 06.06.2013

Quote:
Originally Posted by RenSoprano
Посмотреть сообщение
Код:
floatmul(floatsqroot(floatadd(floatadd(floatpower(X, 2), floatpower(Y, 2)),  floatpower(Z, 2))), 200.0);
It should look something like that
However, what exactly to do?
1000 meters further 1 kilometer increase.


Re: [Request] Vehicle mileage to calculate the - Omirrow - 08.06.2013

+ Up.