• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

scripts and problem

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

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:
Back
Top