11.01.2014, 23:40
pawn Код:
stock IsPlayerInRectangle(playerid, Float:x1_, Float:y1_, Float:x2_, Float:y2_)
{
if(IsPlayerConnected(playerid))
{
new Float:xs,Float:ys,Float:zs;
GetPlayerPos(playerid,xs,ys,zs);
return IsPointInRectangle(xs,ys,x1_,y1_,x2_,y2_);
}
return 0;
}