Usage

Syntax: canspin
Returns true or false.

Explanation

canspin returns a true or false value depending on whether the player can spin their sword. This spinning feature is only available when using the default system.

canspin is read-only.

Example

//#CLIENTSIDE
function onCreated(){
  if (player.canspin) {
   player.chat = "I can spin my sword!";
  }
}

... Will say "I can spin my sword!" if you have the sword spinning feature available for your player.

You can also check it by using RC.
Simply open someones attributes, go under 'Basic Attributes' or 'Attributes' and look for "spin attack". If it's checked, it's enabled.

Categories

CategoryBuiltInVariable

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki