![[PAID] [Standalone] [Lua] World Time main image](https://forum-cfx-re.akamaized.net/optimized/4X/d/f/c/dfc4d6f57d3b135570d13a4dbe0f5893d13b5dcb_2_690x487.png)
Price
UnknownA script by unifried.old
Price
UnknownWhat is World Time?
World Time is a new resource that is being constantly developed as a new way to manage time in the GTA world. World Time adds a new element to dates, sub days, sub days refer to the individual day cycles within the world of San Andreas. The day cycles can be configured in this resource, with the ability to change a day cycle to be 1 hour, 2 hours, 3 hours or even 8 hours depending on your likes. The server keeps track of each day cycle and the current time in the San Andreas world. The resource keeps track of 3 times, the system time, the server time which is set in the config, and the GTA world time. The server time is used to know what time its meant to be in the city and enables day cycles to occur at the same time everyday.
That’s great, but what does that all mean?
Are there any Export / Config options?
Config is listed below:
config.debug = false
config.examples = true
config.usecallbacks = false
config.callbackscript = "kimi_callbacks"
config.sync = 60000
config.timedifference = 28800
config.timemillilength = 7500
config.searchrange = 43200 * 8
Exports are listed below:
Clock_Request_System
Inputs -> None
Returns -> Current System Time (Box time)
Format -> {hour = int, minute = int, day = int, month = int, year = int}
Clock_Request_Server
Inputs -> None
Returns -> Current Server Time (SystemTime + config.timedifference)
Format -> {hour = int, minute = int, day = int, month = int, year = int}
Clock_Request_GTATime
Inputs -> None
Returns -> Current GTA Time
Format -> {hour = int, minute = int, day = int, subday = int, month = int, year = int}
Game_CalculateClock
Inputs -> (TimeData, AdvanceData)
Format TimeData -> {hour = int, minute = int, day = int, subday = int, month = int, year = int}
Format AdvanceData -> {negative = bool, minutes = int, hours = int, subdays = int, days = int}
Returns -> Future/Past GTA Time
Format -> {hour = int, minute = int, day = int, subday = int, month = int, year = int}
Game_CompareClocks
Inputs -> (TimeDataA, TimeDataB) | ORDER MATTERS
Format TimeDataA -> {hour = int, minute = int, day = int, subday = int, month = int, year = int}
Format TimeDataB -> {hour = int, minute = int, day = int, subday = int, month = int, year = int}
Returns ->
True -> if times match exactly
False -> if time is out of range (Try flipping the inputs as InputA might be after InputB)
int -> if the time is found, the int returned is the minutes [GTA TIME] until the time listed in TimeDataB is reached
What is the intended use of the resource?
The resource is able to be used right after the purchased with minimal configuration, however it is best used when integrated with resources with the included exports.
What can I expect from World Time in the future?
The resource is already compatible with callbacks, as well functions are constantly being imagined and starting to be implemented to improve the resource. All updates are included with the purchase as well as support.
Have an idea?
Please pitch your ideas and I will do my best to implement them!
Notes:
NO LONGER AVALIBLE
Code is accessible | Yes |
Subscription-based | No |
Lines (approximately) | 600+ |
Requirements | None |
Support | Yes |
No approved reviews found for this script yet.