so bitte schaut euch das mal an sie ging ganz gut bevor ich das mit ab lvl 100 eingefügt hab kommt immer dieser error syntax error:[string "start"]:93: ´end´expected (to close ´if´ at line 53) near ´elseif´
bitte bitte helft mir ich weis einfach nicht was falsch ist :/
:handsdown:
bitte bitte helft mir ich weis einfach nicht was falsch ist :/
PHP Code:
quest warpring begin
state start begin
when 70007.use begin
say_title("Warpring:")
say("Guten Tag")
say("Ich bin ein gut gebauter Joint")
say("Rauche mich und du wirst irgendwo anders sein")
local main_set = select("Fixx","Niccht")
if main_set == 2 then
return
end
local sub_set = select("Blaues Reich","Rotes Reich","Gelbes Reich","Weitere Gebiete","Abbrechen")
if sub_set == 1 then
say_title("Warpring:")
say("Viel spaß im Blauen Reich!")
wait()
pc.warp(959900,268800)
elseif sub_set == 2 then
say_title("Warpring:")
say("Viel spaß im Roten Reich!")
wait()
pc.warp(474200,954200)
elseif sub_set == 3 then
say_title("Warpring:")
say("Viel spaß im Gelben Reich!")
wait()
pc.warp(63300,166400)
elseif sub_set == 4 then
local sub2 = select("Orktal mitte", "Yongbi Wüste", "Berg Sohan", "Level u Farmmap 0-100", "Spinnendungeon1", "Andere Gebiete", "Abbrechen")
if sub2 == 1 then
say_title("Warpring:")
say("Viel Spaß im Orktal")
wait()
pc.warp(332700, 746800)
elseif sub2 == 2 then
say_title("Warpring:")
say("Viel spaß in der Wüste!")
wait()
pc.warp(296600,547000)
elseif sub2 == 3 then
say_title("Warpring:")
say("Viel spaß auf dem Berg Sohan!")
wait()
pc.warp(436400,215600)
elseif sub2 == 4 then
say_title("Warpring:")
say("Viel spaß auf der Lvl u Farmmap")
wait()
pc.warp(599500,756300)
elseif sub2 == 5 then
say_title("Warpring:")
say("Viel spaß im Spinendungeon1")
wait()
pc.warp(60000,496000)
elseif sub2 == 6 then
if level < 100 then -- 100?? : ?????, ???,
local sub3 = select("Dämonenturm", "Lungsam", "Roterwald", "Land der Riesen", "Abbrechen")
if sub3 == 5 then
return
end
else -- 101?? : ????, ???, ????, ????
local sub3 = select("Dämonenturm", "Lungsam", "Roterwald", "Land der Riesen", "High Lvl maps ab 100 ;D", "Abbrechen")
if sub3 == 1 then
say_title("Warpring:")
say("Viel Spaß im Dämonenturm")
wait()
pc.warp(590800,110800)
elseif sub3 == 2 then
say_title("Warpring:")
say("Viel Spaß im Geisterwald")
wait()
pc.warp(288700,5700)
elseif sub3 == 3 then
say_title("Warpring:")
say("Viel Spaß im Roten Wald")
wait()
pc.warp(1119900,70800)
elseif sub3 == 4 then
say_title("Warpring:")
say("Viel Spaß im Land der Riesen")
wait()
pc.warp(845100,745900)
elseif sub3 == 5 then
local sub4 = select("Lvl u Farmmap ab 100 ;D", "Abbrechen")
if sub4 == 1 then
say_title("Warpring:")
say("Viel Spaß auf der high Lvl map ;D")
wait()
pc.warp(2643200,2694300)
elseif sub4 == 2 then
say("Dann halt nicht")
end
elseif sub3 == 6 then
say("Dann halt nicht")
end
elseif sub2 == 7 then
say("Dann halt nicht")
end
elseif sub_set == 5 then
say("Dann halt nicht")
end
end
end
end