function onUse(cid, item, fromPosition, itemEx, toPosition)
local points = 1
doRemoveItem(item.uid, 1)
doPlayerSendTextMessage(cid, 22, "You have received ".. points ..".")
db.executeQuery("INSERT INTO `table` (`cid`, `points`) VALUES ('"..getPlayerGUID(cid).."', '"..points.."');")
return true
end