Xovos / esx_illegal

I changed ESX_Drugs and added a lot of features like more drugs and licenses for the money was and the money wash itself.
GNU General Public License v3.0
16 stars 16 forks source link

Line 56 server/main.lua #21

Closed RandomZFx closed 4 years ago

RandomZFx commented 4 years ago

Typo I am assuming. canCarry is not a statement for pre-limit. I changed it to cb(xPlayer.getInventoryItem(item, 1)) and it works just fine now :)

Xovos commented 4 years ago

Hi Thanks for pointing that out, Indeed, that isn't supposed to be there. It slipped past me when I updated the code to the newer version. I pushed a fix thanks.