function onSay(cid, words, param)
if getPlayerGroupId(cid) >= 4 then
if param ~= "" then
local commapos = string.find(param,",")
local name = string.sub(param,1,commapos-1)
local int = string.sub(param,commapos+1,string.len(param))
local player= getPlayerByName(name)
doPlayerSendCancel(cid, name .. " has been set to vocation id " .. int .. "")
doPlayerSetVocation(player, int)
function isnecromancer(cid)
return isInArray({vocation 13, vocation promo id (if u have one)}, getPlayerVocation(cid))
end
end
end
end