Exports & Events
π€ GetZonePredictions (client-side)
local predictions = exports['MS_Madonne_Seasons']:GetZonePredictions(zone)Parameter
Type
Description
Example
local playerCoords = GetEntityCoords(PlayerPedId())
local zone = GetNameOfZone(playerCoords.x, playerCoords.y, playerCoords.z)
local predictions = exports['MS_Madonne_Seasons']:GetZonePredictions(zone)
for i, weather in ipairs(predictions) do
print("Slot " .. i .. ": " .. weather)
endβοΈ GetSunTimes (client-side)
Key
Type
Description
Example
π‘ NetEvents
MadonneSeasons:SyncWeathers (client)
MadonneSeasons:SyncPredictions (client)
MadonneSeasons:SyncTime (client)
Last updated