16.02.2011, 16:38
So, this is the variable which calculates the distance in ft.
For example it gives me 10ft and i saw that 1ft is 0.0003048 KM.
So i guess i must do:
10 * 0.0003048 ?
pawn Код:
dist = floatsqroot(floatpower(floatabs(floatsub(PosX[i],X)),2)+floatpower(floatabs(floatsub(PosY[i],Y)),2)+floatpower(floatabs(floatsub(PosZ[i],Z)),2));
So i guess i must do:
10 * 0.0003048 ?