- Haxiorski OTS http://www.haxiorskiots.pun.pl/index.php - Skrypty http://www.haxiorskiots.pun.pl/viewforum.php?id=18 - Quest Log http://www.haxiorskiots.pun.pl/viewtopic.php?id=32 |
Uzzioo - 2008-12-14 17:12:18 |
dobra Kharm jak mnie proslies juz masz Quest Loga! Kod:local quests = {{2520, 'Demon Quest'}, {1004, 'Banshee quest'}, {903, 'Ani'}, {2469, 'Death Tower'}, {6132, 'Pits Of Inferno Quest'}, {2469, 'Strange Room quest'}} 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 end Ok i teraz to zapisz pod nazwą questlog.lua i wrzuc to do data/talkaction/scripts Kod:<talkaction words="questlog" script="questlog.lua"/> I gotowe |