wilkerhell
;D
- Joined
- Sep 29, 2009
- Messages
- 224
- Reaction score
- 0
PHP:
local bless = {1, 2, 3, 4, 5}
local amulet = 2196
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
if (isPlayer(cid) == TRUE) then
if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == amulet) then
if not(getPlayerBlessing(cid, bless[i])) then
for i = 1, table.maxn(bless) do
doPlayerAddBlessing(cid, bless[i])
end
if (getCreatureSkullType(cid) == SKULL_RED or SKULL_BLACK) then
doCreatureSetDropLoot(cid, FALSE)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
end
end
end
end
return TRUE
end
When Player With "Aol Vip" Die, The Killer No Win FRAG. How I Fix / ;S