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;

Real World Example

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

results matching ""

    No results matching ""