Common errors
ESX 1.1 ONLY
SCRIPT ERROR: @okokMarketplace/server.lua:611: attempt to call a nil value (field 'canCarryItem')
Go to the server.lua file and replace:
if blackmarket[1].type == "item" and xPlayer.canCarryItem(blackmarket[1].item_id, 1) thenWith:
if blackmarket[1].type == "item" thenReplace:
elseif blackmarket[1].type == "item" and not xPlayer.canCarryItem(blackmarket[1].item_id, tonumber(blackmarket[1].amount)) thenWith:
elseif blackmarket[1].type == "item" thenReplace:
if xPlayer.canCarryItem(items[1].item_id, tonumber(items[1].amount)) thenWith:
if true thenLast updated