• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Aol not working

watkins577

As3, lua, xml scripter
Joined
Sep 20, 2008
Messages
130
Reaction score
0
Ok the aol in my server prevents loss of items, but it doesnt get removed on death. I tried putting...
Lua:
if getPlayerItemCount(cid, 2173) >= 1 then
	doPlayerRemoveItem(cid, 2173, 1)
end
in playerdeath.lua, and it works... unless you lose the aol when you die, which the aol goes into the corpse, and the bp is lost. If people just had all the blessings would that stop them losing items, since Im using the 0.3.3 (8.42) TFS?
 
K, I just checked items.xml and it is already there.

Edit: Hold on, I just looked at xml again and I found
Lua:
  <attribute key="preventDrop" value="0" />
Should that be 1?
 
Mine's <item id="2173" article="a" name="amulet of loss">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="1" />
<attribute key="preventDrop" value="1" />
Aint working? :S
 
Back
Top