ďťż

+ czerwoną czaszką Amulet

PRzeSteR

+ czerwoną czaszką Amulet
  Aol for czerwoną czaszką

Script by: Sebasbe and Nicekid

1° data\creaturescripts\scripts
preparedeath.lua
Kod: function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
if isPlayer(cid) == true then
if (getPlayerSlotItem(cid, 2).itemid == 2196) then
doPlayerRemoveItem(cid, 2196, 1)
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
return true
end
end
return true
end in data\creaturescripts\scripts\login.lua add tag:
Kod: registerCreatureEvent(cid, "onPrepareDeath") creaturescripts.xml add:
Kod: <event type="preparedeath" name="onPrepareDeath" event="script" value="preparedeath.lua"/> 2°
In items.xml zastąpić

Kod: <item id="2196" article="a" name="broken amulet">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
</item> for:

Kod: <item id="2196" article="a" name="Red Skull Amulet">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="1" />
</item>



  mozesz opisac co to robi ?

  Według mnie chodzi w tym o to, że jak masz red skulla i ten amulet to po śmierci nie zlatuje z ciebie żaden przedmiot.

Skrypt jest krótki i łatwy w użyciu.

Ty jesteś jego autorem czy kto? Bo jak widzę, nie podałeś autora. Piszę tylko dawny stwórca skryptu, napisany małymi literami w skrypcie.

Kod: -- Sebasbe and Nicekid --

  yeah...

script by Sebasbe and Nicekid



  /\

nice dude

  Przyda się przyda... np do sms shopu... wreszcie coś takiego - po wbiciu rs nie trzeba zmieniać eq, wystarczy mieć ten rs aol lol
Copyright (c) 2009 PRzeSteR | Powered by Wordpress. Fresh News Theme by WooThemes - Premium Wordpress Themes.