Usage

Syntax: function onActionRightMouse() { }

Explanation

onActionRightMouse is triggered when the player right clicks an NPC.
It is only triggered clientside.

Example

//#CLIENTSIDE
function onActionRightMouse()
{
  echo("foo");
}

... echoes "foo" when the NPC is right clicked.

Categories

CategoryFunctionEvent
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki