function onUse(cid, item, fromPosition, itemEx, toPosition)
if(not isInArray({4, 8}, getPlayerVocation(cid))) then
doPlayerSetVocation(cid, 4)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE)
doCreatureSay(cid, "You are a Knight!", TALKTYPE_ORANGE_1)
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid, "Sorry, not possible.")
end
return true
end