WorldManager
@vimp-mp/types 2.0.1Authoritative server-side world state. Setting any value broadcasts the change to every connected client; new clients receive the current state during handshake.
Time values are normalised on write (hour % 24, minute|second % 60). weather is uppercased and trimmed; weather names match GTA V's SET_OVERRIDE_WEATHER strings (e.g. "EXTRASUNNY", "RAIN", "THUNDER").
ts
interface WorldManagerMembers
hour
ts
hour: numberIn-game hour, normalized to 0–23 on write.
minute
ts
minute: numberIn-game minute, normalized to 0–59 on write.
second
ts
second: numberIn-game second, normalized to 0–59 on write.
time
ts
readonly time: WorldTimeFresh snapshot containing the current hour, minute and second.
weather
ts
weather: stringGTA weather name broadcast to connected clients.