szajker123
New Member
- Joined
- May 12, 2012
- Messages
- 195
- Reaction score
- 0
Siema mam problem bo tak mam aol i jak padne to on znika to wiadomo ale jak zrobic tak ze jak sie pada to on nie znika tylko sie zamienia w inny item ? Za pomoc dam reppaaa
function onPrepareDeath(cid, ...)
local tmp = getPlayerSlotItem(cid, CONST_SLOT_NECKLACE)
if (tmp.itemid == 2196 and getPlayerSkullType(cid) >= SKULL_NONE) then
doCreatureSetDropLoot(cid, false)
doTransformItem(tmp.uid, --[[new id]])
end
return true
end