Closed swkeep closed 1 month ago
I made some changes here, the only one missing from this pr was the one checking stock which i am going to setup something that works directly with the shop so it updates how it should https://github.com/qbcore-framework/qb-inventory/commit/5a5f2836629eb23ffb7b5610fe36df8384524fff
Description
This pull request addresses several issues with the shopping system:
useStock
behavior from qb-shops to prevent purchasing items after they reach 0 stockattemptPurchase
callback, we didn't have any checks for shops or players' distanceImprovements the video format: https://drive.google.com/drive/folders/1__ctqYqHBWL9eChh8HIuIzzPAQvkiMXD
Checklist