TanguyOrtegat / esx_jb_advanced_truck_inventory

19 stars 36 forks source link

Doubling weapons and multiplication of items when puting in #5

Open Bl4ckwatch opened 6 years ago

Bl4ckwatch commented 6 years ago

I found two bugs, first is when i put for example assault riffle with 14 ammo, one person will take out rifle with 7 ammo and second one will take rifle with ammo that left inside. The second bug is when I put items in the trunk with 100kg capacity, just take 10x of 1 item and spam accept when putting in, u can multiplicate items from 10 to 200 easily, but i've found fix by changing line 330 in client.lua, Citizen.Wait(0) from Citizen.Wait(1000) but if You have autoklicker u are still able at least to double items from 10 to 20.

TanguyOrtegat commented 5 years ago

Look a the new update and tell me if its fixed

chubbynugly commented 5 years ago

the ammo one is not