i tried this and work it
local vocationIDS = {13, 14, 15, 16}
function onDeath(cid, corpse, deathList)
if isInArray(vocationIDS, getPlayerVocation(cid)) then
doPlayerSetLossPercent(cid, PLAYERLOSS_SKILLS, 0)
doPlayerSetLossPercent(cid, PLAYERLOSS_MANA, 0)
end
return...