function onUse(cid, item, frompos, item2, topos)
local config = {
UID = 4321 ----------Any UID here
ITEM = {1294,1} ---- itemid and itemcount In this sample 5 crystal coins
}-- config end --
if item.uid == config.UID then
if getPlayerStorageValue(cid,config.UID) == -1 then
doPlayerAddItem(cid...