Usage

Syntax: lighteffectsenabled
Returns true or false.

Explanation

lighteffectsenabled returns a true or false value depending on whether the player has light effects enabled or not. Please use this to check if the player has lights enabled before doing any light effects.

Example

//#CLIENTSIDE
function onCreated()
  if (lighteffectsenabled) {
   // Show light effect...
  }
  else {
   // Hide light effect
  }
}


Categories

CategoryBuiltInVariable

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

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