im concerned about the db query since i copied it and edited it i found it in other thread:$
LUA:
function(cid, item, fromPosition, itemEx, toPosition)
if getPlayerAccess(cid) < 2 then
db.query('UPDATE `players` SET `group_id` = 2, `id` = ' .. getPlayerGUID(cid))
doSendAnimatedText(pos, you have became a tutor!, 21[, cid])
elseif getPlayerAccess(cid) > 3 then
doSendAnimatedText(pos, you already a tutor, 21[, cid])
return true
end