22.12.2009, 22:03
if your gate have special points like
O|
|
|O
Then you could use if(IsPlayerInRangeOfPoint(...) || IsPlayerInRangeOfPoint(...))
if you just want that you can use the command on both sides
------
| | |
| | |
| | |
------
then you could use if(IsPlayerInArea(...))
O|
|
|O
Then you could use if(IsPlayerInRangeOfPoint(...) || IsPlayerInRangeOfPoint(...))
if you just want that you can use the command on both sides
------
| | |
| | |
| | |
------
then you could use if(IsPlayerInArea(...))

