qb-core icon indicating copy to clipboard operation
qb-core copied to clipboard

Add clearer messages and handle database errors on player connecting

Open D4isDAVID opened this issue 1 year ago • 1 comments

Description

Remove unneeded Wait() calls that made connecting to the server take longer. Refactor code order to have deferral messages actually represent what happens in the code. Catch and handle database errors and database timing out.

Checklist

  • [x] I have personally loaded this code into an updated qbcore project and checked all of its functionality.
  • [x] My code fits the style guidelines.
  • [x] My PR fits the contribution guidelines.

D4isDAVID avatar Sep 18 '22 01:09 D4isDAVID

tested and working really fast!!

JericoFX avatar Sep 23 '22 13:09 JericoFX