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

Problem with calcul of weight #1828

Open
Edvesse opened this issue Oct 29, 2024 · 0 comments
Open

Problem with calcul of weight #1828

Edvesse opened this issue Oct 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Edvesse
Copy link

Edvesse commented Oct 29, 2024

Describe the bug
As you can see, I want to add a jerry can to my inventory, it weighs 4kg, and I have 5.799kg left, but it tells me it doesn't have enough space.

Framework
ESX

Resource version
2.42.3

image

When i print this :

image

Look the result, the toInventory.weight + toData.weight are 8000, but my can weight 4000... it doesn't make sense

image

To reproduce the problem (maxweight 30kg):

I empty the jerrycan so that 4 or 5 kg remain, it doesn't matter. I give myself one via the order, then I put the 4kg jerrycan on the floor, I've got the other one at 19kg on me, and I take the one on the floor, and that's when he doesn't want to take it back because he says we've got more room, but we've got enough...

@Edvesse Edvesse added the bug Something isn't working label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant