View Single Post
  #5  
Old 02-18-2005, 08:38 AM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
NPC Code:

if (mousescreenx in | mapxy[0], mapxy[0] + 420 | && mousescreeny in | mapxy[1], mapxy[1] + 420 | ) {
if (keydown2(17, true)) {
this.tempxy = {(mousescreenx-mapxy[0])*(16/7),(mousescreeny-mapxy[1])*(16/7)};
triggeraction 0, 0, serverside, -Map, warp, #v(this.tempxy[0]),#v(this.tempxy[1]);
}
}

Reply With Quote