View Single Post
  #25  
Old 12-19-2006, 01:31 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by _Z3phyr_ View Post
Okay and now how do you translate if (mousedown) to GS2 aka if (leftmousebutton) ?
PHP Code:
//#CLIENTSIDE
function onMouseDown() {
 switch(
params[0]) {
  case 
"left"
  case 
"right":
  case 
"middle":
  case 
"double"player.chat "You have just pressed the " params[0] @ " mouse button!"; break;
 }


Last edited by Gambet; 12-19-2006 at 01:49 AM..
Reply With Quote