Item does not exist in Items table. Item: <number>
When I give items using the vorp_admin tool it throws this error.
vorp_admin is calling getDBItem in vorp_inventory.
vorp_inventory is only looking for the itemname in viroInventoryAPI.lua line 189
self.getDBItem = function(itemName)
Then in vorp_admin/server.lua line 256-7
local itemCheck = VORPInv.getDBItem(targetID, item) --check items exist in DB
As you can see it’s sending two variables. This is incorrect.
To fix this, delete “targetID,” and save the file and reload the resource.
You will need to log out and log back in for vorp_admin to load correctly for testing.