this script could be not hard :) but could be useful for some people
Here We Are :)
in your actions/scripts create file name voc.lua and paste the following
function onUse(cid, item, fromPosition, itemEx, toPosition)
local voc = {1,2,3,4}
if isInArray(voc,getPlayerVocation(cid)) then...