Skip to content

function setWeatherType (server-side)

Available since version: 0.3.0

This method will set the desired weather type immediately.

Declaration

void setWeatherType(int weather_type)

Parameters

  • int weather_type: Weather type (WEATHER_SNOW/WEATHER_RAIN or 0 to disable precipitation).