• 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 " For Red Skull ? THX.

here you are
go in creature script.xml and paste this in any place
Code:
<event type="preparedeath" name="onPrepareDeath" event="script" value="preparedeath.lua"/>


Then go to creaturescript-->scripts and make lua file called preparedeath.lua and paste

Lua:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
    if isPlayer(cid) == true then
        if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196) then
                doCreatureSetDropLoot(cid, false)       
                doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA) 
        return true
        end
    end
    return true
end

and then go to creaturescrips-->scripts--->login.lua
paste this line at then end of script before the line that have <return TRUE> at end of script

Code:
registerCreatureEvent(cid, "onPrepareDeath")

REP+ if helped. :)
 
you just click on the 2 dudes, that are under his REP bar in "Green"

i never seem to know if this stuff will work for 0.2 or 0.3

im going to test this, but if you know if it works for either both versions or just one

rep+ for the post though
 
Back
Top