Exports

New Exports & Handlers

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

Client-side

 exports["0r-easytime"].disableSync()

Sync Disable

exports["0r-easytime"].enableSync()

Sync enable

exports["0r-easytime"].getWeather()

Brings the weather forecast

'0r-time:disableSync'

Sync disables

'0r-time:enableSync'

Sync enables

"qb-weathersync:client:EnableSync"

If you have a Qbcore tagged script, you don't need to change the tag

"qb-weathersync:client:DisableSync"

If you have a Qbcore tagged script, you don't need to change the tag

Server-side

exports["0r-easytime"].SetBlackout(bool)

Blackout active-deactive

exports["0r-easytime"].SetRealtime(bool)

Realtime active-deactive

exports["0r-easytime"].SetFreezetime(bool)

Freezetime active-deactive

exports["0r-easytime"].SetFreezeweather(bool)

FreezeWeather active-deactive

exports["0r-easytime"].SetTime(hour, minute)

Changes the time

exports["0r-easytime"].SetWeather(weather)

Changes the weather

'qb-weathersync:server:setWeather'

If you have a Qbcore tagged script, you don't need to change the tag

'qb-weathersync:server:setTime'

If you have a Qbcore tagged script, you don't need to change the tag

'qb-weathersync:server:RequestStateSync'

If you have a Qbcore tagged script, you don't need to change the tag

Last updated