06.12.2010, 18:31
does this return meters?
pawn Код:
new Float:dist;
dist = floatsqroot(floatpower(floatabs(floatsub(x1,x2)),2)+floatpower(floatabs(floatsub(y1,y2)),2));