For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Common errors

ESX 1.1 ONLY

Go to the server.lua file and replace:

if blackmarket[1].type == "item" and xPlayer.canCarryItem(blackmarket[1].item_id, 1) then

With:

if blackmarket[1].type == "item" then

Replace:

elseif blackmarket[1].type == "item" and not xPlayer.canCarryItem(blackmarket[1].item_id, tonumber(blackmarket[1].amount)) then

With:

elseif blackmarket[1].type == "item" then

Replace:

if xPlayer.canCarryItem(items[1].item_id, tonumber(items[1].amount)) then

With:

if true then

Last updated