Elgenady
Veteran OT User
- Joined
- Aug 5, 2011
- Messages
- 1,683
- Solutions
- 36
- Reaction score
- 388
hello guys i see my self posted alot of thread i have some problem and want some scripts please help me if u can
(sorry for bad english)
forver aol i have one work with red and black skull but when die no humon will disappear and send me to temple
http://oi45.tinypic.com/10h8006.jpg
in log in
in items.xml
script hook shoot like in photo
http://oi50.tinypic.com/34obwwo.jpg
and one script in talkaction
/deathlist scrip to see ur death
(sorry for bad english)
forver aol i have one work with red and black skull but when die no humon will disappear and send me to temple
http://oi45.tinypic.com/10h8006.jpg
Code:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
if(getPlayerSlotItem(cid, 2).itemid == 2196) and getPlayerSkullType(cid) >= 0 then
doCreatureSetDropLoot(cid, false)
end
return true
end
Code:
<event type="preparedeath" name="onPrepareDeath" event="script" value="preparedeath.lua"/>
in log in
Code:
registerCreatureEvent(cid, "onPrepareDeath")
in items.xml
Code:
<item id="2196" article="a" name="Forever Amulet">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
script hook shoot like in photo
http://oi50.tinypic.com/34obwwo.jpg
and one script in talkaction
/deathlist scrip to see ur death
Last edited: