26.02.2011, 19:57
Try this
pawn Код:
public CheckBall()
{
if(Stats == 1)
{
if(IsObjectInArea(Ball, 2500.8064, 2540.7649,-1546.1082,-1514.6029))
{
SendClientMessageToAll(COLOR_GREEN, "Ball in Area! ");
}
else
{
SendClientMessageToAll(COLOR_RED, "Ball not in Area! ");
}
}
}