Quote:
Originally Posted by _Z3phyr_
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;
}
}