setClientWeather
exports["RiP-Environment"]:setClientWeather(type)
This function sets the current client weather. If weather zones are enabled, it will be set for the current zone
Arguments
Name | Type | Optional | Explenation |
---|---|---|---|
type | String | No | Weather type |
Example
exports["RiP-Environment"]:setClientWeather("CLEAR")
print("weather type changed to 'CLEAR'")