Hello, im using forgetten server 0.3.4, and i've discovered that amulet of loss dosnt dissapear after death, could anyone help me please? (It works full out just that it dosent dissapear when you die.)
I've tried with add this in the playerdeath.lua.
if getPlayerSlotItem(cid, 2).itemid == 2173 then
doPlayerRemoveItem(cid, 2173, 1)
end
And this is how amulet of loss look in the item list.
<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420"/>
<attribute key="slotType" value="necklace"/>
<attribute key="preventDrop" value="1"/>
</item>
I be thankful for any help from you out there!
I've tried with add this in the playerdeath.lua.
if getPlayerSlotItem(cid, 2).itemid == 2173 then
doPlayerRemoveItem(cid, 2173, 1)
end
And this is how amulet of loss look in the item list.
<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420"/>
<attribute key="slotType" value="necklace"/>
<attribute key="preventDrop" value="1"/>
</item>
I be thankful for any help from you out there!