Quote:
|
Originally Posted by talkingnoodle
soo
if (mousedown){
if (testplayer(x,y){
blah?;
}
}
??
|
You should also close that testplayer() properly.
Also, if I remember correctly, testplayer returns the index of the found player, not true/false. You might want to modify your testplayer() check to support that.