DirkScripts
Docs
Game
βΉοΈ Client Module
#lib.game.syncTime
Synchronises the in-game time through the detected time/weather bridge resource.
lualib.game.syncTime(state)
| Parameter | Type | Required | Description |
|---|---|---|---|
| state | any | yes | Time state to sync β format depends on the active time bridge |
β οΈ Requires a supported time/weather resource to be configured in lib.settings.time. An error is printed if no bridge is found.
