<item id="11393" name="Ghost amulet">
<attribute key="weight" value="80"/>
<attribute key="slotType" value="necklace"/>
<attribute key="healthGain" value="250"/>
<attribute key="healthTicks" value="1000"/>
<attribute key="manaGain" value="250"/>
<attribute key="suppressDrunk" value="1"/>
<attribute key="manaTicks" value="1000"/>
<attribute key="magiclevelpoints" value="5"/>
<attribute key="showattributes" value="1"/
Thanks it worked<health now="999999999" max="999999999"/>
as u like
<item id="11393" name="Ghost amulet">
<attribute key="weight" value="80"/>
<attribute key="slotType" value="necklace"/>
<attribute key="healthGain" value="250"/>
<attribute key="healthTicks" value="1000"/>
<attribute key="manaGain" value="250"/>
<attribute key="suppressDrunk" value="1"/>
<attribute key="manaTicks" value="1000"/>
<attribute key="magiclevelpoints" value="5"/>
<attribute key="showattributes" value="1"/
function onDeath(cid, corpse, deathList)
if (getPlayerSlotItem(cid, 2).itemid == 11393) and getPlayerSkullType(cid) >= 4 then
doCreatureSetDropLoot(cid, false)
end
return true
end
<event type="death" name="Foreveraol" event="script" value="preparedeath.lua"/>
registerCreatureEvent(cid, "foreveraol")
<attribute key="preventDrop" value="1" />
where do i put the first and the second and the third one in ?Code:function onDeath(cid, corpse, deathList) if (getPlayerSlotItem(cid, 2).itemid == 2196) and getPlayerSkullType(cid) >= 4 then doCreatureSetDropLoot(cid, false) end return true endCode:<event type="death" name="Foreveraol" event="script" value="preparedeath.lua"/>
Code:registerCreatureEvent(cid, "foreveraol")
[10/12/2014 22:51:49] [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/login.lua:13: unexpected symbol near '<'first one in date/creaturescripts/script
second one in date/creaturescripts.xml
third one in date/creaturescripts/loin.lua
i dont understand u can u do it to me on team viewer ?be sure u copied everything right " u make new lua and rename for
preparedeath and then post script in it " and look what u copied in login.lua