You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should simplify and bring everything together on World.
Also, time flow is automaticaly managed by the game.
We should give this ownerrship to the scripter who can update the time manually at the pace he wants. (like it's done currenlty in the gamemode) (this also avoids having to synchronize our stuff with the game)
Tasks
Remove Environment thing
Cleanup and sync weather set and time on the World directly
Curently, weather set and time are mixed between World and Environment depending on the location and also in the way the synchronization is done.
https://github.com/MafiaHub/MafiaMP/blob/master/code/server/src/core/builtins/world.h
We should simplify and bring everything together on World.
Also, time flow is automaticaly managed by the game.
We should give this ownerrship to the scripter who can update the time manually at the pace he wants. (like it's done currenlty in the gamemode) (this also avoids having to synchronize our stuff with the game)
Tasks
Remove Environment thing
Give scripter ownership on the time flow
game.gfx:SetTimeFlowSpeed(0)
) => Reverse more WeatherManager2 stuffs #64SDK API
SetWeather
toSetWeatherSet
GetWeatherSet
setDayTimeHours
toSetTime
SetTime
is a float between 0.0 and 24.0GetTime
(hook: C_WeatherManager2__GetDayTimeHoursAddr)SetWeatherSet
,GetWeatherSet
,SetTime
andGetTime
to theWorld
node moduleThe text was updated successfully, but these errors were encountered: