This PR simply adds a getTime export to qb-weathersync server-side.
As setTime only requires hour and minute (as seconds are handled on the client side), we will only return hour and minute.
A client-side export has not been provided as the native GetClockHours and GetClockMinutes can be used instead.
Questions:
Q: Have you personally loaded this code into an updated qbcore project and checked all it's functionality?
A: Yes.
Q: Does your code fit the style guidelines?
A: Yes.
Q: Does your PR fit the contribution guidelines?
A: Yes.
This PR simply adds a
getTime
export toqb-weathersync
server-side. AssetTime
only requireshour
andminute
(as seconds are handled on the client side), we will only returnhour
andminute
. A client-side export has not been provided as the nativeGetClockHours
andGetClockMinutes
can be used instead.Questions: Q: Have you personally loaded this code into an updated qbcore project and checked all it's functionality? A: Yes.
Q: Does your code fit the style guidelines? A: Yes.
Q: Does your PR fit the contribution guidelines? A: Yes.