TanguyOrtegat / esx_jb_advanced_truck_inventory

19 stars 36 forks source link

cam't take items from the trunk #25

Open NitroX28 opened 4 years ago

NitroX28 commented 4 years ago

hi , i can put items into the trunk but it's impossible to take them back,i can't take items at this moment (on the screenshot) , can you help me please ?

salut , je peut mettre des items dans le coffre mais il m'es impossible de les recuperer, je ne peut pas les recuperer a ce moment (sur la screenshot) , peut-tu m'aider stp ? error2

TonyMahoney commented 4 years ago

client\main.lua 243 line to find PlayerData.accounts[i].limit replaced by PlayerData.accounts[i].weight

client\main.lua 257 line to find PlayerData.accounts[i].limit replaced by PlayerData.accounts[i].weight

client\main.lua 377 line replaced by if tonumber(PlayerData.inventory[i].weight) < tonumber(PlayerData.inventory[i].count) + quantity and PlayerData.inventory[i].weight ~= -1 then

NitroX28 commented 4 years ago

i have changes lines but it's telling me "tu en porte trop"

NitroX28 commented 4 years ago

so maybe it's a problem with items

Kraleemil commented 3 years ago

client\main.lua 243 line to find PlayerData.accounts[i].limit replaced by PlayerData.accounts[i].weight

client\main.lua 257 line to find PlayerData.accounts[i].limit replaced by PlayerData.accounts[i].weight

client\main.lua 377 line replaced by if tonumber(PlayerData.inventory[i].weight) < tonumber(PlayerData.inventory[i].count) + quantity and PlayerData.inventory[i].weight ~= -1 then

Stil doesnt work

ghost commented 2 years ago

I have the same problem, what did you do to fix it

Kraleemil commented 2 years ago

I have the same problem, what did you do to fix it

I moved over to esx_trunk

ghost commented 2 years ago

Know where to change the distance to the vehicle because one has to stand very close to the vehicle before the trunk works