View Single Post
  #1  
Old 05-16-2006, 01:51 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
testplayer(mousex,mousey) problems

function onmousedown() {
mpid = testplayer(mousex,mousey);
checkkey();
if (this.key = 1) {
if (mpid > -1) {
drawmenu();
}
}
}

This currently works perfect if i click myself but only works on other players if they are on a gmap and not paused. How could i get around this?

[Edit]: Basic info - it is clientside, checkkey just returns whether the user is holding down shift.
Reply With Quote