wo ist der fehler
PHP Code:
quest userpanel begin
state start begin
when 40002.use begin
say_yellow("Userpanel:")
local head = select("Teleport", "Lager", "Abbrechen")
if head == 1 then
say("Teleportpanel")
local on = select (" Map1", "Abbrechen")
if on == 1 then
say_red("Wähle deine Map1 aus!")
local map1 = select ("Rot", "Blau", "Gelb", "Doch nicht")
if map1 == 1 then
pc.warp(474462, 954500)
end
if map1 == 2 then
pc.warp(959913, 269179)
end
if map1 == 3 then
pc.warp(63369, 166149)
end
if map1 == 4 then
return
end
end
if head == 2 then
game.open_safebox()
setskin(NOWINDOW)
end
end
end
end