
12-08-2009, 09:09 PM
|
|
team canada
|
 |
Join Date: Jul 2004
Location: Canada
Posts: 5,200
|
|
|
Try putting parenthesis' around
player.x+1.5 and player.y+2
like so:
if ((player.x+1.5) in |17, 25| && (player.y+2) in |13, 37|)
Nvm, that's not the issue but for clarity purposes I would.
Is this script on a gmap? because if it is you start dealing with coordinates in the 100s in some cases, a way to get around this would be to use relative coordinates like: this.x, this.x + 10, etc. |
|
|
|