Salut BUG MEGA BUG OX
Cod: Selectaţi tot
quest oxevent_manager begin
state start begin
when letter with pc.get_map_index()==113 begin
send_letter("Părăseşte OX")
end
when button or info begin
say_title("Concursul OX")
say("Salut,")
say("Eu te pot teleporta în prima hartă.")
say("")
say_reward("Vrei să părăseşti concursul OX?")
local s=select("Da", "Nu")
if s==2 then
send_letter("Părăseşte OX")
return
end
local empire = pc.get_empire()
if empire== 1 then
pc.warp(433300, 219600)
elseif empire == 2 then
pc.warp(431500, 209200)
elseif empire == 3 then
pc.warp(439800, 211000)
end
end
when 20011.chat."Concursul OX" begin
say_title("Uriel")
say("Hey ,tu de acolo")
say("Da, da tu! Vino până aici!")
say("Hai să îţi arăt ceva interesant")
say("Concursul OX. Eu te pot duce aici")
say("Şi poţi câştiga premii interesante!")
wait()
if game.get_event_flag("oxevent_status") == 0 then
say_title("Uriel")
say("Când concursul va începe eu te voi lăsa")
say("să intri şi să le dovedeşti ce ştii tu.")
say("Fii atent ....curând va începe!")
elseif game.get_event_flag("oxevent_status") == 1 then
say_title("Uriel")
say("Vrei să participi?")
say("Aaa eram să uit...poţi sta şi ca spectator...")
local s = select("Particip", "Spectator", "Renunt")
if s == 1 then
say_title("Uriel")
say("Chiar vrei să participi?")
say("Okay - Hai să mergem.")
wait()
pc.warp(896500, 24600)
elseif s == 2 then
say_title("Uriel")
say("Doar Spectator?")
say("Okay - eu îţi respect decizia.")
say("")
wait()
pc.warp(896300, 28900)
end
elseif game.get_event_flag("oxevent_status") == 2 then
say_title("Uriel")
say("Concursul OX a început deja")
say("şi nu mai poţi intra!")
say("Dar fii pregătit că oricând poate")
say("să înceapă un alt Concurs OX.")
say("Acum te pot lăsa doar ca spectator!")
say("Vrei să intri ca spectator?")
local s = select("Spectator", "Renunt")
if s == 1 then
say_title("Uriel")
say("Hmm, Hmm, vrei sa te uiţi?")
say("Bine eu te voi lăsa să te uiţi!")
say("")
wait()
pc.warp(896300, 28900)
end
end
end
when 20358.chat."GM: OX-Panel" with pc.is_gm() begin
local stat = oxevent.get_status()
if stat == 0 then
say_title("Concursul OX")
say("Începe OX?")
local s = select("Da", "Nu")
if s==2 then return end
local v = oxevent.open()
if v == 0 then
say_title("Concursul OX")
say("Nu am putut încarca oxquiz.lua .")
return
elseif v == 1 then
say_title("Concursul OX")
say("Concursul OX a început cu succes.")
server_timer("automatic1", 10*60, 113)
notice_all("Evenimentul OX a început pe Metin2XT!")
notice_all("Pentru a intra, duceţi-vă la Uriel.")
else
say("Error1")
return
end
elseif stat == 1 then
say_title("Concursul OX")
say("Uşile încă sunt deschise.")
say("Jucatori intraţi: "..oxevent.get_attender().." ")
say("")
local s = select("Închide intrarea", "Înapoi")
if s == 1 then
notice_all("Porţile OX au fost închise.")
notice_all("Pregatiţi-vă !")
oxevent.close()
end
elseif stat == 2 then
say_title("Concursul OX")
say("Obtiuni:")
local s = select("Întrebari OX", "Premiu OX", "Închide OX", "Anuleaza OX", "Înapoi")
if s == 1 then
local v = oxevent.quiz(1, 80)
if v == 0 then
say_title("Concursul OX")
say("Error2")
return
else
say_title("Concursul OX")
say("Întrebare adresată cu succes!")
return
end
elseif s == 2 then
say_title("Concursul OX")
say("Te rugăm să pui codul item-ului.")
local item_vnum = input()
say_title("Concursul OX")
say("Introduceţi cantitatea")
local item_count = input()
oxevent.give_item(item_vnum, item_count)
say_title("Concursul OX")
say(" "..oxevent.get_attender().." Câştigătorii au primit "..item_count.."x")
say(item_name(item_vnum).." emis.")
notice_all("Premiu: "..item_count.."x "..item_name(item_vnum))
elseif s == 3 then
oxevent.end_event()
notice_all("Evenimentul OX a luat sfârşit pe Metin2XT.")
notice_all("Toţi jucătorii vor fi teleportaţi din aceasta hartă ")
setskin(0)
elseif s == 4 then
say_title("Concursul OX")
say("Renunţarea la OX poate crea probleme.")
say("Sigur vrei să faci asta?")
local s = select("Da", "Nu")
if s == 1 then
oxevent.end_event_force()
end
elseif s == 5 then
return
end
elseif stat == 3 then
say_title("Concursul OX")
say("Acum este adresată o întrebare.")
else
say_title("Concursul OX")
say("Error4")
return
end
end
end
end- Kid0
-

- Mesaje: 1420
- Membru din: 12 Aug 2015, 13:33
- Server: restoria2(ex)
- Regat: Shinsoo
- Aprecieri: 39
- Mulţumiri: 13
- Discord: Copiază ID
- Contact:
arhivat
Răspunsuri
1 Vizualizări
790
1 Vizualizări
790
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Google [Bot] și 154 vizitatori





de