I've been trying to edit and make a perfect addon system. Only thing I got so far is this
function onUse(cid, item, fromPosition, itemEx, toPosition)
if (getPlayerStorageValue(cid, 21201) == EMPTY_STORAGE) then
doCreatureSay(cid, "You've gained the citizen outfit."...