kubiczi123
RoFT- First and last memb
Siema, pewnie zastanawiacie sie dlaczego napisalem ten temat...
Chcialem stworzyc chest questa, a jako ze posiadam silnik pokemon w edytorze sie nie da(!)
Wiec musze go zrobic skryptowo.
Znalazlem tutorial na jakiejs stronie ale w konsoli wywala mi blad pewnie temu ze skrypt pod stara tibie.
Skrypt (Na 100% stary ale innego nie znalazlem...)
Pomozcie prosze, albo podrzuccie tutorial na chest questy
Chcialem stworzyc chest questa, a jako ze posiadam silnik pokemon w edytorze sie nie da(!)
Wiec musze go zrobic skryptowo.
Znalazlem tutorial na jakiejs stronie ale w konsoli wywala mi blad pewnie temu ze skrypt pod stara tibie.
PHP:
[14/12/2012 21:27:49] [Error - LuaScriptInterface::loadFile] data/actions/scripts/starter.lua:1: '<eof>' expected near 'elseif'
[14/12/2012 21:27:49] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/starter.lua)
[14/12/2012 21:27:49] data/actions/scripts/starter.lua:1: '<eof>' expected near 'elseif'
PHP:
Actions.xml
<action uniqueid="6666" event="script" value="starter.lua"/>
Skrypt (Na 100% stary ale innego nie znalazlem...)
PHP:
elseif item.uid 6666 then
queststatus = getPlayerStorageValue(cid,6666)
if queststatus -1 then
if getPlayerLevel(cid) >= 5 then
doPlayerSendTextMessage(cid,22,”You have found Pokemon BOX!.”)
doPlayerAddItem(cid,11638,1)
setPlayerStorageValue(cid,6666,1)
else
doPlayerSendTextMessage(cid,22,”You've bugged the quest! BAD BOY.”)
end
else
doPlayerSendTextMessage(cid,22,”You've already taken the box.”)
end
Pomozcie prosze, albo podrzuccie tutorial na chest questy