• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

[MOD] Red Skull Amulet

Status
Not open for further replies.
nice :) could u do a forever amulet, but when u have a rs u lose ur eq ?
 
JDB, Sorry For Requests ;/

I Have 0.3.5_SVN (Crying Damson). And Don't Have Folder MOD. I Can Install ? How ?

Thx, I Repp++ For U
 
There should be a MOD folder.
Maybe that is only 0.3.5pl1 :huh:
 
Ok, Thx ;/

I Download My Server, And I Don't Have Sources, I Can Upgrade ? How ? If I Upgrade My Server Can Bug ?

Thx /\
 
On this script how can i add 2 amulets?

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

i've tryed already:

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

but doesnt work lol
 
if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196) ||
(getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 10520) then
 
if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196) ||
(getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 10520) then
or* :)
This would also work:
Code:
if(isInArray({2196, 10520}, getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid) [B][COLOR="Red"]== TRUE[/COLOR][/B]) then
(bold red is only required in TFS 0.2)
 
i don't understand it, the player with red skull won't loss his eq?

then its not working for me, cause the player with red skull is losing everything(include the amulet)


using TFS 0.3.5 | 8.50
 
Try it again.
 
Status
Not open for further replies.
Back
Top