wrsson
New Member
- Joined
- Jan 31, 2009
- Messages
- 28
- Reaction score
- 0
Right ive tried using
But it doesnt seem to work ive added all needed to login.lua and creaturescripts but it doesnt seem to work or isnt this right script for 0.2.5? Any help appreciated
Code:
function PrepareDeath(cid, lastHitKiller, mostDamageKiller)
if isPlayer(cid) == true then
if (getPlayerSlotItem(cid, 2).itemid == 2196) then
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
return true
end
end
return true
end
But it doesnt seem to work ive added all needed to login.lua and creaturescripts but it doesnt seem to work or isnt this right script for 0.2.5? Any help appreciated