Usage

Syntax: particleeffectsenabled
Returns true or false.

Explanation

particleeffectsenabled returns a true or false value depending on whether the player has particle effects enabled or not. Please use this to check if the player has particle effects enabled before doing any particle effects. For example, don't allow your script to perform any form of particles if particleeffectsenabled returns true.

Example

//#CLIENTSIDE
function onCreated()
{
  if (particleeffectsenabled) {
   // Do particle effect here
  }
  else {
   // Hide particle effect here
  }
}


Categories

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