Cod: Selectaţi tot
-------------------------------------
-- Rebootsystem Quest by Kentra
-- Tradus de RealJ4Zz @ Just4Metin.ro
-------------------------------------
quest rebootsystem begin
state start begin
when letter with pc.is_gm and pc.get_name() == "[GF]RealJ4Zz" begin
send_letter("Shutdown System")
end
when info or button with pc.is_gm and pc.get_name() == "[GF]RealJ4Zz" begin
say_title("Mentenantã:")
say_verde("Vrei sã aplici o Mentenantã ?")
say_verde("Atunci alege timpul când sã opresc,")
say_verde("server-ul dar tot odatã voi anunta si jucãtorii.")
local s = select("30 Minute", "15 Minute", "Acum!", "Închide")
if s == 1 then
timer("shutdown30min", 1)
end
if s == 2 then
timer("shutdown15min", 1)
end
if s == 3 then
command("shutdown")
end
if s == 4 then
send_letter("Mentenantã")
end
end
when shutdown30min.timer begin
notice_all("Atentie !!!")
notice_all("Mentenantã: Server-ul va fi oprit în 30 de minute!")
timer("shutdown15min", 60*15)
end
when shutdown15min.timer begin
notice_all("Atentie !!!")
notice_all("Mentenantã: Server-ul va fi oprit în 15 minute!")
timer("shutdown1", 60*5)
end
when shutdown1.timer begin
notice_all("Atentie !!!")
notice_all("Mentenantã: Server-ul va fi oprit în 10 minute!")
notice_all("Dati Log Out pentru a preveni pierderea itemelor!")
timer("shutdown2", 60*5)
end
when shutdown2.timer begin
notice_all("Atenþie !!!")
notice_all("Mentenantã: Server-ul va fi oprit în 5 minute!")
notice_all("Dati Log Out pentru a preveni pierderea itemelor!")
timer("shutdown3", 60*3)
end
when shutdown3.timer begin
notice_all("Atentie !!!")
notice_all("Mentenantã: Server-ul va fi oprit în 2 minute!")
notice_all("Dati Log Out pentru a preveni pierderea itemelor!")
timer("shutdown4", 60)
end
when shutdown4.timer begin
notice_all("Atentie !!!")
notice_all("Mentenantã: Server-ul va fi oprit în 1 minut!")
notice_all("Daþi Log Out pentru a preveni pierderea itemelor!")
timer("shutdown5", 30)
end
when shutdown5.timer begin
notice_all("Atentie !!!")
notice_all("Mentenantã: Server-ul va fi oprit în 30 de secunde!")
notice_all("Dati Log Out pentru a preveni pierderea itemelor!")
timer("shutdown6", 15)
end
when shutdown6.timer begin
notice_all("Atentie !!!")
notice_all("Mentenantã: Server-ul va fi oprit în 15 secunde!")
timer("shutdown7", 5)
end
when shutdown7.timer begin
command("shutdown")
end
end
end



daca te-am ajutat
