01.07.2011, 18:32
Also, shouldn't it be
So it will return 1 if the vehicle is in the CP and otherwise return 0.
pawn Код:
return PointInRangeOfPoint(x, y, z, cpx, cpy, cpz, range);
// instead of
if(PointInRangeOfPoint(x, y, z, cpx, cpy, cpz, range)) return checkpointid;
return 0;