How can I check an array inside an index? [{4, 8}] to confirm if 'vocation' aka 8 exists?
local outfits = { [7995] = { [{1, 5}] = {94210, 1}, [{2, 6}] = {94210, 1}, [{3, 7}] = {94210, 1}, [{4, 8}] = {94210, 1} } } local item = 7995 local vocation = 8 if outfits[item] then local index = outfits[item] --for i = 1, #index do -- for n = 1, #index[i] -- if index[i] -- ???? end