where go local cfg = {
points = 10,
effect = CONST_ME_MAGIC_GREEN
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPlayer(itemEx.uid) then
doPlayerAddPremiumPoints(itemEx.uid, cfg.points)
doCreatureSay(itemEx.uid, "You have received " .. cfg.points .. " premium points!"...