Anyone knows how to fix this? I know I need to replace the xPlayer.canCarryItem with older code for es extended but I dont know where to find it??
I am using the limit system not weight system!

why would you use old , broken code, with super bad optimisation, SQL Injection issues like theres no tomorrow, no support for it and no you script made for it?
Thanks,
Mycroft - Director Of ESX-Framework 
1 Like
Because I have older server and I am trying to revive it and if I put weight system all server will be broken and a lot of to fix. So do you have any ideas how to change the canCarryItem code?
So I basically wrote this where canCarryItem was written
if xPlayer ~= nil then
– Write the code
end
But you will need to make a code to set limit. I tried writing this and it worked:
if xPlayer.getInventoryItem(“weed”).count < 100 then ( For it to give an disclaimer that you can’t pick any more weed)
system
Closed
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.