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

[Request] Red Skull Amulet

Status
Not open for further replies.

justin234

New Member
Joined
Jan 22, 2008
Messages
999
Reaction score
4
I would like a script that is for an amulet.

Where if you are a
"RED SKULL" and "DIE"
you wont lose any items.

Regards.
 
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
if getPlayerItemCount(cid, item_id_of_amulet)=> 1 then
doCreatureSetDropLoot(cid, 0)
return FALSE
end
it's for 0,3, and it must work, if I am right with doCreatureSetDropLoot...never used it before ;> btw, it will work even amulet is in backpack;)
 
@Fare
You cant do it:
if getPlayerItemCount(cid, item_id_of_amulet)=> 1 then
It should be
if getPlayerItemCount(cid, item_id_of_amulet)>= 1 then
 
it's for 0,3, and it must work, if I am right with doCreatureSetDropLoot...never used it before ;> btw, it will work even amulet is in backpack;)

Why using 1 instead of true? pfft.
EDIT
didnt work.
Im trying to make a mod
 
Last edited:
You guys do realize that this thread is almost a year old right?
 
Status
Not open for further replies.
Back
Top