New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix errors and warnings across esx-legacy #86
Conversation
Remove some instances of collation mixing. includes: fix(sql): don't allow NULL identifier in billing, user_licenses, and user_parkings
Tick time is ~15ms, so anything that needs to occur on-frame should use Wait(0)
Many natives have updated / more accurate names.
Use await on queries during startup for less nesting / callback hell, and to delay the paycheck and save intervals from starting too early.
Deprecate the usual method of manually iterating through 'ESX.GetPlayerData().inventory'.
Better and less confusing.
Race conditions were introduced due to a mix of FiveM's updated scheduling and the swap to oxmysql responding faster than the client can load. This should alleviate the issue, though a more solid solution should be found.
Going to do the inventory stuff separately. |
👍🏼 , will have it tested. looking over the code it seems fine, although, for the Wait Changes, wouldn`t it be better to add sleeps to some of them? |
To quote bubble
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't really change anything so just by looking at it, code will work. It's small improvements. 👍
👍🏼 😄 |
No description provided.