FearlessStudios

getWeather

Server export to read the current weather state

getWeather

Read the weather state the server shares with players.

Usage

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

Returns

Prop

Type