29.03.2012, 20:21
Quote:
|
pawn Код:
|
pawn Код:
stock IsPlayerInArea(playerid, Float:minx, Float:miny, Float:maxx, Float:maxy)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if((x >= minx) && (y >= miny) && (x <= maxx) && (x <= maxy)) return true;
return false;
}


