- 0
creatureevent ERRO NO SCRIPT - AJUDA
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 5 answers
- 1242 views
-
- 6 replies
- 2128 views
-
- 1 reply
- 2188 views
-
- 7 replies
- 1947 views
-
- 2 replies
- 1870 views
-
Question
marcelinhok 1
Ola galera.
tenho com script de amuleto para red skull. Mas olhe bem, quando o cara morre ele volta pra lvl 1, sera que alguém pode modificar pra que quando o cara morra não aconteça isso ? AGRADEÇO DESDE JA !
id = 10718 --id do aol
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
Edited by marcelinhokif isPlayer(cid) == true then
if (getPlayerSlotItem(cid, 2).itemid == id) then
pos = getCreaturePos(cid)
doCreatureSetDropLoot(cid, false)
doPlayerSetLossPercent(cid, experience, 0)
doSendMagicEffect(pos, 49)
end
return TRUE
end
end
Link to comment
Share on other sites
2 answers to this question
Recommended Posts