qbcore-framework / qb-weathersync

Weather System Used With QB-Core :sun_behind_rain_cloud:
GNU General Public License v3.0
23 stars 142 forks source link

[ENHANCEMENT] Add `getTime` export #68

Closed meta-hub closed 1 year ago

meta-hub commented 1 year ago

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.

Z3rio commented 1 year ago

@meta-hub Update the branch and commit my suggestion and I will gladly commit this PR.

Z3rio commented 1 year ago

PR Abandoned by creator, reopen if needed.