Calcolate Area
#4

https://sampwiki.blast.hk/wiki/Areacheck

position 1: X: 20.0 Y: 100.0
position 2: X: 35.0 Y: 250.0

looks like
Код:
                     _________________ X: 35.0 Y: 250.0
                     |                |
                     |    This is     |
                     |  the area that |
                     |    you want    |
                     |   to define!   |
                     |________________|
      X: 20.0 Y: 100.0
Position 1 is the minimum- and position 2 the maximum values.

A Area check for this Area would look like
Код:
IsPlayerInArea(playerid,20.0,35.0,100.0,250.0);
it's
Код:
IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy);
Reply


Messages In This Thread
Calcolate Area - by usersamp - 28.07.2013, 09:04
Re: Calcolate Area - by Spooky - 28.07.2013, 09:20
Re: Calcolate Area - by MellowHammer - 28.07.2013, 09:24
AW: Calcolate Area - by CutX - 28.07.2013, 09:29
Re: Calcolate Area - by usersamp - 28.07.2013, 09:53

Forum Jump:


Users browsing this thread: 1 Guest(s)