Skip to content
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

Depreciated function #4

Open
IgnorantDuck opened this issue May 29, 2023 · 1 comment
Open

Depreciated function #4

IgnorantDuck opened this issue May 29, 2023 · 1 comment

Comments

@IgnorantDuck
Copy link

When attempting to craft/make any of the kfc items this pops on my server console

[ script:qb-inventory] QBCore:HasItem is deprecated, please use QBCore.Functions.HasItem, it can be used on both server- and client-side and uses the same arguments.
[ script:qb-core] nil triggered QBCore:Server:RemoveItem by ID 1 for 1 kfc-potato. This event is deprecated due to exploitation, and will be removed soon. Adjust your events accordingly to do this server side with player functions.
[ script:qb-core] nil triggered QBCore:Server:AddItem by ID 1 for 4 kfc-fries. This event is deprecated due to exploitation, and will be removed soon. Adjust your events accordingly to do this server side with player functions.

@binaryc0ding
Copy link

binaryc0ding commented Aug 31, 2023

I have fixed this. Needs to be done server side now instead of client side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants