04.04.2011, 00:20
Use:
pawn Code:
stock IsPlayerInArea(playerid, Float:xmin, Float:ymin, Float:xmax, Float:ymax)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if(x >= xmin && y >= ymin && x <= xmax && y <= ymax) return true;
return false;
}

