Lua Events/OnChangeWeather

From PZwiki
< Lua Events
Revision as of 08:45, 28 February 2024 by CalvyBot (talk | contribs) (Removing trailing whitespace(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Event

OnChangeWeather

Description

Triggered when the weather is changing.

Parameters

  • String A string representing the weather. Can be either: "normal", "cloud", "rain", or "sunny"

Examples

local function OnChangeWeather(weather)
	-- Your code here
end

Events.OnChangeWeather.Add(OnChangeWeather)

See also