• 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 - Help.

ditajobe

I hate whiners
Joined
Dec 11, 2008
Messages
30
Reaction score
0
Location
Sweden
Hello, I need help with a script.

Like if a player dies he doesnt lose anything not even his/her bag/bp or even EQ she/he loses nothing even in redskull-mode. If there is a script for this please write it in this thread.

Sincerly Yours, Dita
 
Yeah but, I dont want the AOL. I dont want drops at all... Because people would realy want to use amulets and other stuff... So i though it wouldnt be good with AOL.

If theres a chance just help out please.
 
<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="21637123671623" />
<attribute key="preventDrop" value="1" />
</item>



guess that should work?
 
PHP:
<event type="death" name="NoAol" event="script" value="noaol.lua"/>


Lua:
	registerCreatureEvent(cid, "NoAol")


Lua:
function onPrepareDeath(cid, deathList)
  if (isPlayer(cid)) == TRUE then
    doCreatureSetDropLoot(cid, false)
  end
  return TRUE
end
 
Back
Top