• 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!

[MOD] Torture Locker Version 2 By Amy Azzkaban

azzkaban

Monster Maker
Joined
Feb 23, 2010
Messages
1,101
Reaction score
194
Location
Iquique Chile
cimad.png

93105030.gif

baixon.jpg

XML:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Torture Locker MOD" version="2.0" author="Amy Azzkaban" contact="blacktibia.org/otland.net" enabled="yes">
   <action itemid="5474;5475" event="script" override="yes"><![CDATA[
function onUse(cid, item, frompos, item2, topos)
    if item.itemid == 5475 then
        doTeleportThing(cid,topos)
        doCreatureAddHealth(cid, -getCreatureMaxHealth(cid))
        doCreatureSay(cid, "Aaahh", TALKTYPE_YELL)
        return doTransformItem(item.uid, item.itemid == 5475 and 5474 or 5475) and true
    else
        return doTransformItem(item.uid, item.itemid == 5474 and 5475 or 5474) and true
    end
return 
end
   ]]></action>
</mod>
 
Last edited:
;ooo, you mind making one similar, but when u open it you dont move on it and a Mummy appear?
 
Replace:
Lua:
doCreatureAddHealth(cid, -90000000)
with:
Lua:
doCreatureAddHealth(cid, -getCreatureMaxHealth(cid))

Else

it looks funny :p
 
Curiosity killed the player
 
Sexy idea i was thinking about making one that summon mummy.can i post it here Azzkaban?
 
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Mummy MOD" version="2.0" author="Amy Azzkaban" contact="blacktibia.org/otland.net" enabled="yes">
   <action itemid="5474;5475" event="script"><![CDATA[
function onUse(cid, item, frompos, item2, topos)
local pos = getPlayerPosition(cid)
    if item.itemid == 5475 then
        doCreateMonster("mummy",{x=pos.x+1,y=pos.y-1,z=pos.z}
        doCreatureSay(cid, "Amy", TALKTYPE_MONSTER_YELL)
        doSendMagicEffect(pos,CONST_ME_POFF)
    end
return true
end
   ]]></action>
</mod>
 
Back
Top