Bom galera estou com um script de um aol que ele nao perde lvl e quando ta black e red skull nao perde nada, mas o problema e quando o player morre volta pro level 1, alguem sabe resolve?
Script:
local config = { ammyID = 2130, lossExp = false, lossItems = false } function onDeath(cid, lastHitKiller, mostDamageKiller) if isPlayer(cid) then if (getPlayerSlotItem(cid, 2).itemid == config.ammyID) then if (config.lossExp == false) then doPlayerSetLossPercent(cid, experience, 0) end doCreatureSetDropLoot(cid, config.lossItems) return true end end return true end
Abrass, Bom feriado