diff --git a/README.md b/README.md index 2302d14..1072651 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,12 @@ ### EXPORTS: -You can get the server time in your own resource using this export function: - *Exports["fivemtimesync"].CurrentDateTicks()* **| Will return the total Ticks** +You can get the server time in your own resource using this export function: + *Exports["fivemtimesync"].CurrentDateTicks()* + **Will return the total Ticks** ```C# - new DateTime(Exports["fivemtimesync"].CurrentDateTicks()); + DateTime currentDate = new DateTime(Exports["fivemtimesync"].CurrentDateTicks()); ``` @@ -25,16 +26,22 @@ You can get the server time in your own resource using this export function: You can change the settings using convar in your FiveM server config file: - *set timesync_network_verbose 0* **| Set to 1 to print event in the console** - - *set timesync_console_print_time 0* **| Set to 1 to print the time periodically in the console** - - *set timesync_console_print_format "MMMM d yyyy, HH:mm:ss tt"* **| Set the format to print the date/time** - - *set timesync_console_print_delay 60000* **| Set the millisecond delay between the print of time in console** - - *set timesync_update_delay 60000* **| Set the delay before server force resync with all players** - - *set timesync_timerate 1* **| Set the timerate, 1 = 1 real second & 10 = 10 time faster than real time** +- *set timesync_network_verbose 0* +**Set to 1 to print event in the console** + +- *set timesync_console_print_time 0* +**Set to 1 to print the time periodically in the console** + +- *set timesync_console_print_format "MMMM d yyyy, HH:mm:ss tt"* +**Set the format to print the date/time** + +- *set timesync_console_print_delay 60000* +**Set the millisecond delay between the print of time in console** + +- *set timesync_update_delay 60000* +**Set the delay before server force resync with all players** + +- *set timesync_timerate 1* +**Set the timerate, 1 = 1 real second & 10 = 10 time faster than real time**