DirkScripts Logo

Login With FiveM

Login

πŸ“š Library
β€Ί
Modules
β€Ί

game

Game

ℹ️ Client Module

lib.game.syncTime

Synchronises the in-game time through the detected time/weather bridge resource.

lua
lib.game.syncTime(state)
ParameterTypeRequiredDescription
stateanyyesTime 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.

Copyright Β© 2026 DirkScripts.

Not affiliated with or endorsed by Rockstar North, Take-Two Interactive, or any other rights holders. FiveM is a copyright and registered trademark of Take-Two Interactive Software, Inc.
Our checkout system is provided by Tebex Limited, who manage payment processing, product delivery, and billing support. Prices shown in currencies other than GBP are approximate conversions updated daily. All purchases are processed in GBP, so the final amount charged may vary depending on your bank or payment provider’s exchange rate.