hello Guys i tried all forever aol script just one work with me and when die first no human and teleport me to temple with dead msg anyone can fix this for me or gave me forever aol work with tf 3.6??
login
in xml
Code:
function onPrepareDeath(cid, corpse, deathlist)
if getCreatureSkullType(cid) <= 2 and getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196 then
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
doCreatureSay(cid, "Forever Aol!! NO LOOT FOR YOU!", TALKTYPE_ORANGE_1)
end
return true
end
login
Code:
registerCreatureEvent(cid, "onPrepareDeath")
in xml
Code:
<event type="preparedeath" name="onPrepareDeath" event="script" value="preparedeath.lua"/>