eu tentei editar um item para ter efeito diferente em cada classe
but it makes my pc restart
but it makes my pc restart
PHP:
function onEquip(cid, item, slot)
if getPlayerVocation(cid) == 13 or getPlayerVocation(cid) == 15 or getPlayerVocation(cid) == 17 then
doPlayerAddSkillTry(cid, SKILL__MAGLEVEL, 2)
end
return true
end
function onDeEquip(cid, item, slot)
if getPlayerVocation(cid) == 13 or getPlayerVocation(cid) == 15 or getPlayerVocation(cid) == 17 then
doPlayerAddSkillTry(cid, SKILL__MAGLEVEL, -2)
end
return true
end