player.setWeather

Description

Used to set a player's weather.

Weather IDs & Names

If you wish to do weather transitions you must do it client-side.

Syntax

setWeather(weatherType: WeatherType): void;

Example Usage

// weather id
player.setWeather(0); // Extra Sunny

results matching ""

    No results matching ""