Nu porneste quest-ul

Totalitatea subiectelor care nu respectă regulamentul vor fi stocate aici.
Închis
Avatar utilizator
SmokeyOzN
Nivel 1

Nivel 1
Mesaje: 97
Membru din: 06 Iul 2016, 12:00
Server: Artharos2
Regat: Jinno
Aprecieri: 39  
Mulţumiri: 2  
Discord: Copiază ID
Medalii

Salutare tuturor
Am si eu o problema daca ma puteti ajuta
Am luat si eu quest-ul asta de Halloween si nu porneste adica apare acolo la quest-uri in joc dar dau click pe el si nu se intampla nimic
Quest:quest eveniment_halloween begin
state start begin

when login begin
if game.get_event_flag("eveniment_halloween") == 1 then
notice("[Metin2Royal] > Evenimentul de halloween este activ.")
end
end

when kill with not npc.is_pc() and game.get_event_flag("eveniment_halloween") == 1 begin
local chance = number(1, 500)
local chance_max = game.get_event_flag("halloween_sansa_drop")

if chance <= chance_max then
local r = math.random(1, 2)
if 1==r then
pc.give_item2(50095, 1)
elseif 2==r then
pc.give_item2(30322, 1)
else
end
else
end
end


when letter with pc.is_gm() begin
send_letter("+ GM: Eveniment halloween ")
end

when button or info begin

if pc.is_gm() then

say_gm_title ( "Eveniment halloween:" )
say_gm ( "Ce doresti sã faci?[ENTER]" )
if game.get_event_flag("eveniment_halloween") == 0 then
say_kingdom_red ( "Evenimentul este oprit.[ENTER]" )
else
say_kingdom_yellow ( "Evenimentul este pornit.[ENTER]" )
end

local sname = input()
if sname == "NL2" then


say_gm_title ( "PANOU DE ADMINISTRARE" )
say_gm ( "Selecteazã o optiune din meniul de de mai jos.[ENTER]" )

local s=select ( "Porneste evenimentul", "Opreste evenimentul", "Sansã aruncare", "Iesire" )

if s==1 then

notice_all("[Metin2Royal] > Evenimentul de halloween a început.")
game.set_event_flag("eveniment_halloween", 1)
char_log(0, "eveniment_halloween_start from" ..pc.get_name())

say_gm_title ( "Eveniment halloween:" )
say_gm ( "Evenimentul a fost pornit.[ENTER]" )

wait ()

send_letter("+ GM: Eveniment halloween ")
return

elseif s==2 then

notice_all("[Server]: Evenimentul de halloween a luat sfârsit.")
game.set_event_flag("eveniment_halloween", 0)
char_log(0, "eveniment_halloween_end from" ..pc.get_name())

say_gm_title ( "Eveniment halloween:" )
say_gm ( "Evenimentul a luat sfârsit.[ENTER]" )

wait ()

send_letter("+ GM: Eveniment halloween ")
return

elseif s==3 then

say_gm_title ( "Eveniment halloween:" )
say_gm ( "Cât de mare doresti sã fie sansa de aruncare?[ENTER]" )
say_orange ( "Între 1-500:[ENTER]" )

local new_chance = tonumber(input())
if new_chance < 0 or new_chance > 500 then

say_gm_title ( "Eveniment halloween:" )
say_gm ( "Valorile introduse nu sunt bune.[ENTER]" )

wait ()

send_letter("+ GM: Eveniment halloween ")
return

else

char_log(0, "eveniment_halloween_chance from" ..pc.get_name().. " to " ..new_chance.. "%")
game.set_event_flag ( "halloween_sansa_drop", new_chance)

say_gm_title ( "Eveniment halloween:" )
say_orange ("Sansa a fost modificatã; sansã " ..new_chance.. "%.[ENTER]")

wait ()

send_letter("+ GM: Eveniment halloween ")
return

end

elseif s==4 then
send_letter("+ GM: Eveniment halloween ")
return

end
end
end
end
end
end
Avatar utilizator
FRANCIS
Administrator Adjunct

Administrator Adjunct
Mesaje: 7879
Membru din: 06 Noi 2015, 19:52
Regat: Chunjo
Aprecieri: 334  
Mulţumiri: 54529  
Discord: Copiază ID
Medalii

trebuie sa postezi aici :
probleme/ si ai un model de urmat cand postezi o problema si cand pui questul pune-l in spoiler

[ Postat de pe iPhone ] Imagine
If you talk to a man in a language he understands, that goes to his head. If you talk to him in his own language, that goes to his heart.
Imagine
ENJOY
Imagine
Afișează semnătura
Închis
Răspunsuri
2
Vizualizări
189
Răspunsuri
7
Vizualizări
602

Înapoi la “Arhivă”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 14 vizitatori