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

me podeis ayudar porfavor?

agosti

New Member
Joined
Nov 6, 2008
Messages
2
Reaction score
0
Location
Navarra/Spain
muy buenas
mirar yo antes en el mystic spirit de tfs 0.2
hacia las quest con el chest le daba click derecho y en unique id ponia el id del item que queria que saliese y bien me funcionaba, pero en The Forgotten Server 0.3.4PL2 (Crying Damson) no me funciona de esa manera alguien me puede ayudar gracias de antemano

__________________________________________________________________

very good
I used to look at the mystic spirit of TFS 0.2
quest to the chest with him right click and put the unique id id of the item I wanted to leave me and it worked well, but The Forgotten Server 0.3.4PL2 (Damson Crying) I do not work that way someone can help me thanks in advance
 
k ondaaaaa
checa esto
1.- \data\actions\scripts\ creas un archivo que se llame quest.lua
Lua:
function onUse(cid, item, frompos, item2, topos)
	prize = item.uid
	count = item.actionid

	if prize > 0 and prize < 10000 then
		queststatus = getPlayerStorageValue(cid,prize)

		if queststatus == -1 then
			if count > 1 then
				doPlayerSendTextMessage(cid,22,'You have found a '..getItemNameById(item.uid)..'.')
				doPlayerAddItem(cid,prize,count)
				setPlayerStorageValue(cid,prize,1)
			else
				doPlayerSendTextMessage(cid,22,'You have found a '..getItemNameById(item.uid)..'.')
				doPlayerAddItem(cid,prize,1)
				setPlayerStorageValue(cid,prize,1)
			end
		else
			doPlayerSendTextMessage(cid,22,"Esta Vacio.")
		end

		return 1
	else
		return 0
	end
end
2.- \data\actions\actions.xml y pegas esto
Lua:
	<action itemid="1740" event="script" value="quest.lua"/>
	<action itemid="1747" event="script" value="quest.lua"/>
	<action itemid="1748" event="script" value="quest.lua"/>
	<action itemid="1749" event="script" value="quest.lua"/>
y listo solo pones en el chest el uniqueid del item que quieres que te salga
si te sirvio Rep++
 
Back
Top