SA-MP Forums Archive
IsPlayerInArea with minXY, maxXY - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IsPlayerInArea with minXY, maxXY (/showthread.php?tid=345310)



IsPlayerInArea with minXY, maxXY - zgintasz - 24.05.2012

Hi guys,

Is it possible to create checking is player in area if I have only two coords?



Sorry for my bad English...
Thanks !


Re: IsPlayerInArea with minXY, maxXY - ViniBorn - 24.05.2012

Two coords X and two coords Y

Will works with your points...


Re: IsPlayerInArea with minXY, maxXY - MadeMan - 24.05.2012

Yes, you have all you need:

(minX, maxY)-----------------------



-----------------------(maxX, minY)


Re: IsPlayerInArea with minXY, maxXY - zgintasz - 24.05.2012

Thanks MadeMan !