isplayerinarea
#22

you go in game and just go to two corners of your area

Wrong
A _____ _____
| | | |
| | | |
|_____| |_____|
B A B

Right
_____ A A _____
| | | |
| | | |
|_____| |_____|
B B

than save the position of the point from A and B and sort the x, y
X , Y
If we get for example for point A - 234.5, 987.6
and for example for point B - 123.4, 1798.3
we just need to sort it in the right oder (minx, maxx, miny, maxy)
so we get - 123.4, 234.5, 987.6, 1798.3

That should be understandable
Reply


Messages In This Thread
isplayerinarea - by Headshot1108 - 28.03.2009, 00:04
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 01:10
Re: isplayerinarea - by DMSOrg - 28.03.2009, 01:18
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 01:32
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 08:59
Re: isplayerinarea - by hazdog - 28.03.2009, 09:26
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 11:15
Re: isplayerinarea - by On_Top_Non_Stop - 28.03.2009, 12:07
Re: isplayerinarea - by MenaceX^ - 28.03.2009, 12:11
Re: isplayerinarea - by bogeymanEST - 28.03.2009, 12:31
Re: isplayerinarea - by [M2S]moe - 28.03.2009, 12:53
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 15:56
Re: isplayerinarea - by [M2S]moe - 28.03.2009, 19:37
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 20:41
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 20:44
Re: isplayerinarea - by [M2S]moe - 28.03.2009, 21:32
Re: isplayerinarea - by FUNExtreme - 28.03.2009, 22:26
Re: isplayerinarea - by Nero_3D - 28.03.2009, 23:31
Re: isplayerinarea - by Headshot1108 - 29.03.2009, 00:06
Re: isplayerinarea - by Nero_3D - 29.03.2009, 01:14
Re: isplayerinarea - by Headshot1108 - 29.03.2009, 11:05
Re: isplayerinarea - by Nero_3D - 29.03.2009, 11:26

Forum Jump:


Users browsing this thread: 1 Guest(s)