Usage
Syntax: weathereffectsenabled
Returns true or false.
Explanation
weathereffectsenabled returns a true or false value depending on whether the player has weather effects enabled or not. Please use this to check if the player has weathher effects enabled before doing any weather effects for your weather system. For example, disable the weather system for the player if weathereffectsenabled returns true.
Example
//#CLIENTSIDE function onCreated() if (weathereffectsenabled) { // Do weather system/effects here } else { // Remove weather system or disable weather system/effects here } }
Categories
CategoryBuiltInVariable