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

problem z quetami

Retired

New Member
Joined
Apr 19, 2009
Messages
233
Reaction score
1
Witam tfs 0.3.5 jak ustawic skrzynke zeby dostac item??
bo gdy ustawiam np:

Action id 1740
Unique id 1900

przy takich ustawieniach nie dostaje itemu skrzynka jest pusta jak nalezy ustawic zeby dostac item??
 
tak 9999 nic nie pomoglo wie ktos jak to jest z tymi questami pod 0.3.5 bedzie rep+
 
po co wy pomagacie tym noobom, potem powstaje milion ots na 1 dzień z standardowymi mapami/skryptami, może jestem egoista ale cóż... xd
 
Nasu lepiej zastosuj stary quest system. Masz tutaj skrypty:

Do actions.xml wklej
-- Simple quests
<action itemid="1740" script="quest.lua" />
<action itemid="1747" script="quest.lua" />
<action itemid="1748" script="quest.lua" />
<action itemid="1749" script="quest.lua" />
<action itemid="1770" script="quest.lua" />
A w actions/scripts wklej to i nazwij quest.lua

-- simple quests based on uniqueId
-- to make quest create chest on map and set its uniqueId to id of quest item

function onUse(cid, item, frompos, item2, topos)
prize = item.uid
count = item.actionid

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

if queststatus == -1 then
if count > 1 then
doPlayerSendTextMessage(cid,22,'Orzymales nagrode!')
doPlayerAddItem(cid,prize,count)
setPlayerStorageValue(cid,prize,1)
else
doPlayerSendTextMessage(cid,22,'Orzymales nagrode!')
doPlayerAddItem(cid,prize,1)
setPlayerStorageValue(cid,prize,1)
end
else
doPlayerSendTextMessage(cid,22,"Dostales juz nagrode z tej skrzynki!")
end

return 1
else
return 0
end
end
 
ActionID: 2000
UniqueID: Storage Value, pod ktorym zapisze sie czy wykonalismy juz questa.
Chest Content: Jakie maja byc nagrody.
 
+ nie sprawdzaj godem/gmem, bo nie bedzie dzialac, musisz byc playerem..
 
Back
Top