Revision [330]

This is an old revision of particleeffectsenabled made by ScripterAlex on 2009-01-18 01:59:59.
 
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

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

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