• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Forever AOL

swordman

Member
Joined
Jun 5, 2011
Messages
394
Reaction score
7
Hello,
I tryed to find a forever aol script.
The forever aol have to be like this:
When u die at Redskull or blackskull, u will still lose everything.
Only on Whiteskull and NO skull u wont lose anything.

I have tested out this script, It seems like its working, but when he die with that script,
he doesn't get a dead body under him. It's like, he's dieing in temple and respawning in temple.
creaturescript (aol.lua)
PHP:
Lua Code:
local AMULET = 2196
function onPrepareDeath(cid, deathList)
if getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == AMULET then
if isInArray({SKULL_WHITE, SKULL_NONE}, getCreatureSkullType(cid)) then
doSetCreatureDropLoot(cid, false)
end
end

return true
end

Repp+ for the helper!
 
Back
Top