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)
Repp+ for the helper!
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!