dsheedes / cd_easytime

A clean and simple time and weather script for FiveM
Other
65 stars 64 forks source link

Re-enable driveby after menu access and set clock speed for time sync #18

Closed elenawinters closed 2 years ago

elenawinters commented 2 years ago
  1. When accessing the easytime menu, driveby capabilties are taken away from the player. This pull request re-enables driveby capabilies. Driveby capabilties are defined as "shooting from a vehicle".
  2. When the clock speed is set low, there is flickering in the clock, because the Network Clock is running at, let's say, 2 seconds by default, but if we want it to be 7 seconds, then it flickers. This pull request tells the client that the clock speed is whatever the time sync is expecting, therefore resulting in smoother time (don't know how to word this really. just that the clock glitches out if you don't do this and you have 7 seconds or higher as the "seconds per minute")
elenawinters commented 2 years ago

Another note regarding point 2: It might be worth while syncing every 30 seconds with this pull request.