Diese Quest funkt nicht wenn ich den npc anklicke :
PHP Code:
quest event_tool begin
state start begin
when 20095.chat with pc.is_gm() begin
say_title("Event Tool")
say("Welches Event willst du starten?")
local s = select("Metin Event","Boss Event","OX", "Abbrechen")
if s==4 then
setskin(NOWINDOW)
return
elseif s==3 then
if oxevent.get_status()==0 then
local v = oxevent.open()
if v == 0 then
setskin(NOWINDOW)
chat("Konnte kein oxquiz.lua laden")
chat("check die Files ab.")
return
elseif v == 1 then
setskin(NOWINDOW)
notice_all("ox ist an usw")
command("go ox")
else
setskin(NOWINDOW)
chat("OX Event Error")
return
end
else
setskin(NOWINDOW)
chat("OX ist bereits an")
return
end
elseif s==2 then
regen_in_map("63","locale/germany/map/metin2_map_n_desert_01/boss_event.txt")
chat("Boss-Event in der Wüste Oase gestartet")
setskin(NOWINDOW)
notice_all("Das Boss-Event wurde gestartet")
elseif s==1 then
regen_in_map("63", "locale/germany/map/metin2_map_n_desert_01/metin_event.txt")
chat("Metin-Event in der Wüste Oase gestartet")
setskin(NOWINDOW)
notice_all("Das Metin Event wurde in der Wüste gestartet!")
end
end
end
end