19.01.2011, 15:25
PointToPoint windows version here. Linux version not work's for me, and currently no have this.
If you use for calculate distance, use this:
If you use for calculate distance, use this:
pawn Код:
#define GetDistance(%1,%2,%3,%4,%5,%6) floatadd(floatadd(floatsqroot(floatpower(floatsub(%1, %4), 2)), floatsqroot(floatpower(floatsub(%2, %5), 2))), floatsqroot(floatpower(floatsub(%3, %6), 2)))