05.04.2012, 12:19
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
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
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; |