- Dołączył
- Grudzień 15, 2009
- Posty
- 29
- Liczba reakcji
- 0
Witam jak zrobi?,?eby np po wykonaniu demon oaka pokazywa?o si? w quest ?
np
Demon Oak (complete) ??
Bardzo Prosz? o pomoc
np
Demon Oak (complete) ??
Bardzo Prosz? o pomoc
Follow along with the video below to see how to install our site as a web app on your home screen.
Notka: This feature may not be available in some browsers.
w data/talkAction/tworzymy plik o nazwie questlog.lua
PHP:function onSay(cid, words, param) local quests = {{6666, 'Demon Quest'}, {6214, 'Banshee quest'}, {903, 'Ani'}} doPlayerSendTextMessage(cid, 22, 'Tw?j Quest Log:') local lp = 1 for d=1, #quests do if(getPlayerStorageValue(cid, quests[d][1]) > 0)then doPlayerSendTextMessage(cid, 19, lp..'. '..quests[d][2]..' - Ukonczony!') else doPlayerSendTextMessage(cid, 18, lp..'. '..quests[d][2]..' - Nie ukonczony!') end lp = lp+1 end end
talkactions.xml
PHP:talkaction words="questlog" script="questlog.lua"/>
A teraz wypisze g??wne cz?sci{{6666, ' Demon Quest '}
?- UniqeId questu!
?- Nazwa questu!
<mission name="Ruly's Revenge" storageid="30031" startvalue="4" endvalue="6">
<missionstate id="4" description="You received a document with instructions from Ruly, follow them."/>
<missionstate id="5" description="Go back to Ruly and tell him that you followed his instructions to the end."/>
<missionstate id="6" description="You got a reward from Ruly, he was very thankful with that you helped him to take his revenge."/>
</mission>