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

Forever Aol (Works With Red Skull)

Status
Not open for further replies.

Blue Wizard

Lua Scripter
Joined
Jul 1, 2010
Messages
50
Reaction score
4
Location
In Your Mind
Many People Asked Me About it Atlast Im Done With it
Please Repp++
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Red Skull Amulet" version="1.0" author="--" contact="--" enabled="yes">
        <description><![CDATA[
                This Is Will Protect Your Items Even If You Have Red Skull.
        ]]></description>

        <item id="2196" article="a" name="Red Skull Amulet" override="yes"/>

        <event type="login" name="RedSkullAmulet_Login" event="buffer"><![CDATA[
                registerCreatureEvent(cid, "RedSkullAmulet_Login")
        ]]></event>

        <event type="death" name="RedSkullAmulet_Login" event="script"><![CDATA[
                function onDeath(cid, corpse, deathList)
                        if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196) then
                                if (getCreatureSkullType(cid) == SKULL_RED) then
                                        doCreatureSetDropLoot(cid, false)
                                end
                        end
                        return true
                end
        ]]></event>
</mod>
 
Niceee (; Nothing On Xlm? or anything? i had script and didnt need anything but it didnt work with red pk (; does it work with black pk?
a dont know how give rep or i give you 10/10 (;
 
Last edited:
It Does Work With Everything Enjoy :)
Repp++ If I Helped
@up
Button Down Of My Rep Its Like 2 Humans :)
 
hey 1 more question what on creaturescripts.xlm??? (; plis i need rep++ (;
and extra rep for telling me how to give rep xd
 
nono i mean how i make it work?

Does it need anything on
Creaturescripts.xlm
or just creat script and done?
 
can you do better tutorial?
like where i put and name and what goes on xlm?
i dont understand where i put script? and what on xlm?
 
this is a mod.

you goto your folder where you run your server from and there should be a folder called mods

add it into there and it works its self.
 
If i put on it the aol id it will works whit aol?
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Red Skull Amulet" version="1.0" author="--" contact="--" enabled="yes">
<description><![CDATA[
This Is Will Protect Your Items Even If You Have Red Skull.
]]></description>

<item id="2173" article="a" name="Red Skull Amulet" override="yes"/>

<event type="login" name="RedSkullAmulet_Login" event="buffer"><![CDATA[
registerCreatureEvent(cid, "RedSkullAmulet_Login")
]]></event>

<event type="death" name="RedSkullAmulet_Login" event="script"><![CDATA[
function onDeath(cid, corpse, deathList)
if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2173) then
if (getCreatureSkullType(cid) == SKULL_RED) then
doCreatureSetDropLoot(cid, false)
end
end
return true
end
]]></event>
</mod>
 
Status
Not open for further replies.
Back
Top