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

Amulet of Loss

<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??
 
I checked the script and I'm sure there's nothing wrong with it... if you still want to see it;

PHP:
-- 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
 
function onSay(cid, words, param)
if doPlayerRemoveMoney(cid, 10000) then
doPlayerAddItem(cid, 2173, 1)
else
doPlayerSendCancel(cid, 'You don\'t have enough money.')
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
end
This should work REPPPP?? :D:D:D
 
^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 :/
 
^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 :/

THIS IS THE RIGHT SCRIPTEK:thumbup:
 
Back
Top