Usage

Syntax: carriesnpc
Returns true or false.

Explanation

carriesnpc returns a true or false value depending on whether the player is actively carrying an NPC.

carriesnpc is read-only.

Example

//#CLIENTSIDE
function onCreated(){
  if (player.carriesnpc) {
   player.chat = "I am carrying an NPC";
  }
}


Categories

CategoryBuiltInVariable

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

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