- Joined
- Jun 19, 2009
- Messages
- 1,852
- Reaction score
- 5
Hello!
For some reason, Amulet of Loss in my server is unlimited... why is that?
Thanks,
For some reason, Amulet of Loss in my server is unlimited... why is that?
Thanks,
<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420"/>
<attribute key="slotType" value="necklace"/>
<attribute key="charges" value="1"/>
<attribute key="preventDrop" value="1"/>
</item>
have this??
-- Created By Donky Kong --
function onSay (cid, words, param)
if doPlayerRemoveMoney (cid, 10000) == TRUE then -- Removes 10k Money, 1CC.
doPlayerAddItem(cid,2173,1) -- Adds an Aol to the player
doSendMagicEffect(getPlayerPosition(cid),12) -- Uh Effect!
doPlayerSendTextMessage(cid,22,"You've bought an Amulet of Loss!")
else -- If the player doesn't have enough money to buy an aol...
doPlayerSendCancel(cid,"You don't have enough money.")
doSendMagicEffect(getPlayerPosition(cid),2)
end
return true
end
Delete <attribute key="charges" value="1"/> or set value to 0 not sure anymore xd
<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="1" />
<attribute key="preventDrop" value="1" />
</item>
^up are you sure? I downloaded the newest TFS and in their items.xml is this:
Code:<item id="2173" article="an" name="amulet of loss"> <attribute key="weight" value="420" /> <attribute key="slotType" value="necklace" /> <attribute key="charges" value="1" /> <attribute key="preventDrop" value="1" /> </item>
and in my items.xml is that code as well :/
did you make the aol with gm? if you did it has 100 charges