Skip to content

Exports

New Exports & Handlers

Exports and handlers come with the new version. Counts as update after 26.02.2025.

Client-side

text
 exports["0r-easytime"].disableSync()
Sync Disable
text
exports["0r-easytime"].enableSync()
Sync enable
text
exports["0r-easytime"].getWeather()
Brings the weather forecast
text
'0r-time:disableSync'
Sync disables
text
'0r-time:enableSync'
Sync enables
text
"qb-weathersync:client:EnableSync"
If you have a Qbcore tagged script, you don't need to change the tag
text
"qb-weathersync:client:DisableSync"
If you have a Qbcore tagged script, you don't need to change the tag

Server-side

text
exports["0r-easytime"].SetBlackout(bool)
Blackout active-deactive
text
exports["0r-easytime"].SetRealtime(bool)
Realtime active-deactive
text
exports["0r-easytime"].SetFreezetime(bool)
Freezetime active-deactive
text
exports["0r-easytime"].SetFreezeweather(bool)
FreezeWeather active-deactive
text
exports["0r-easytime"].SetTime(hour, minute)
Changes the time
text
exports["0r-easytime"].SetWeather(weather)
Changes the weather
text
'qb-weathersync:server:setWeather'
If you have a Qbcore tagged script, you don't need to change the tag
text
'qb-weathersync:server:setTime'
If you have a Qbcore tagged script, you don't need to change the tag
text
'qb-weathersync:server:RequestStateSync'
If you have a Qbcore tagged script, you don't need to change the tag