Try this.
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerCustomFlagValue(cid, PlayerCustomFlag_GamemasterPrivileges) then
return doPlayerSendCancel(cid, "You may not open this chest.")
end
local v = {
[1990] = {storage = 30015},
[2400] = {storage = 30015},
[2431] =...