IsPointInArea
#2

There's alot of these out there...

I made this one myself,
pawn Код:
stock IsPointInArea(Float: X, Float: Y, Float: Z, Float: MinX, Float: MinY, Float: MinZ, Float: MaxX, Float: MaxY, Float: MaxZ) {
    if((MinX >= X && X >= MaxX) && (MinY >= Y && Y >= MaxY) && (MinZ >= Z && Z >= MaxZ)) {
        return true;
    }
    return false;
}
*Note*: This will only work with 3D Squares and Rectangles.
Reply


Messages In This Thread
IsPointInArea - by CaHbKo - 10.09.2011, 16:07
Re: IsPointInArea - by Sniper Kitty - 23.08.2012, 12:55
Re: IsPointInArea - by Vince - 23.08.2012, 12:59
Re: IsPointInArea - by Sniper Kitty - 23.08.2012, 13:02

Forum Jump:


Users browsing this thread: 1 Guest(s)