23.07.2009, 14:50
Quote:
Originally Posted by ssǝן‾ʎ
|
iirc the areas.inc with onplayerenterarea never worked for me but you could still search it up if you wanted
heres a isplayerinarea i made a while ago though, if its any use
Код:
forward IsPlayerInArea(playerid, x1, x2, y1, y2); public IsPlayerInArea(playerid,x1, x2, y1, y2) { new Float:xx, Float:yy, Float:zz; GetPlayerPos(playerid, xx, yy, zz); if(xx > x1 && xx < x2 && yy > y1 && yy < y2) return 1; else return 0; }