06.07.2010, 21:46
Use the IsPlayerInArea function which is below. ( I sorta edited it for you )
pawn Code:
public IsPlayerInArea(playerid, Float:maxx, Float:maxy, Float:minx, Float:miny)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if(x < maxx && y < maxy && x > minx && y > miny) return 1;
return 0;
}