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

stack = false #3

Open
G1Gi opened this issue Apr 11, 2024 · 3 comments
Open

stack = false #3

G1Gi opened this issue Apr 11, 2024 · 3 comments

Comments

@G1Gi
Copy link

G1Gi commented Apr 11, 2024

If an item has 'stack = false' and it's setup with placeholders = true

it doesn't remove the item, you can just spam sell it.

@JasonSteeleLee
Copy link

@IamLation Is this still an issue?

@IamLation
Copy link
Owner

Thanks for the report! And yes @JasonSteeleLee this is still an issue. Will try to look more into this soon!

@G1Gi
Copy link
Author

G1Gi commented Apr 15, 2024

@IamLation Is this still an issue?

as a temp fix mate I've just added a check if the pawnshop can carry and sends an error if not inside the BeginTransaction function

exports.ox_inventory:CanCarryAmount
or
exports.ox_inventory:CanSwapItem(inv, firstItem, firstItemCount, testItem, testItemCount)

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

3 participants