28.02.2009, 17:41
you need to define it before you use it not after
and I think its better to use a Marco for that - just put it somewhere before the first header
and I think its better to use a Marco for that - just put it somewhere before the first header
pawn Код:
#define DistanceBetweenPoints(%1,%2,%3,%4,%5,%6) floatsqroot((%1 - %4) * (%1 - %4) + (%2 - %5) * (%2 - %5) + (%3 - %6) * (%3 - %6))