21.03.2011, 02:49
It is just not working
I took the coords on this way:
--------(North)
pawn Код:
stock IsPlayerInArea(playerid, Float:X1, Float:Y2, Float:X3, Float:Y4)
{
new Float:pX, Float:pY, Float:pZ;
GetPlayerPos(playerid, pX, pY, pZ);
if(pX >= X1 && pX <= X3 && pY >= Y2 && pY <= Y4)
return true;
else
return false;
}
--------(North)