View Single Post
  #11  
Old 06-25-2006, 07:20 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
What? I've always done..

NPC Code:

//#CLIENTSIDE
function onMouseDown()
{
if ( params[0] == "left" ) {
player.chat = "You have just left clicked!";
} else if ( params[0] == "right" ) {
player.chat = "You have just right clicked!";
} else if ( params[0] == "double" ) {
player.chat = "You have just double clicked!";
} else if ( params[0] == "middle" ) {
player.chat = "You have just clicked on your mouse wheel!";
}
}




..and it's always worked fine for me.
Reply With Quote