SA-MP Forums Archive
taxometer - 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: taxometer (/showthread.php?tid=331600)



taxometer - ancezas - 05.04.2012

hi, im creating a taxometer but i faced with some bugs: Big bug on price, i know wear he is but i dont know how to fix it, its in
Quote:

new kaina = ((floatround(floatabs(Viet[0][0]-Viet[1][0]))+floatround(floatabs(Viet[0][1]-Viet[1][1]))+floatround(floatabs(Viet[0][2]-Viet[1][2]))))/5;

Everything works like this: a passenger gets in a cab and running from the entrance point of the price increases, driving closer to the point where he got the price decreases, i need that the price always increases. can somebody help me? sory for me bad english


Re: taxometer - ancezas - 05.04.2012

can someone help?