FearlessStudios

getWeather

Server export to read the current weather state

getWeather

Returns the current synchronized weather state.

Usage

server.lua
local weather = exports["FS-Weather"]:getWeather()
print(weather.weather)

Returns

Prop

Type