UnWork 198 Posted January 26, 2012 quest shutdown begin state start begin when 20094.chat."Apagado del Servidor" with pc . is_gm ( ) == true begin say_title ( "By DjZed" ) say_title ( "Shutdown:" ) say ( "Desea apagar el servidor?" ) local siono = select ( "Si","No" ) if siono == 2 then return elseif siono == 1 then say_title ( "Shutdown:" ) say ( "Proceso de Apagado en marcha" ) local ciao = tostring(input()) timer ( "shutdown" , 900 ) notice_all ( "Se apagara el server en 30 minutos!" ) notice_all ( "Les recomendamos que salgan.." ) notice_all ( "Cualquier perdida no es responsabilidad nuestra." ) end end when shutdown.timer begin notice_all ( "Apagado en 15 minutos!" ) notice_all ( "Les recomendamos que salgan.." ) notice_all ( "Cualquier perdida no es responsabilidad nuestra." ) timer ( "shutdown2" ,899 ) end when shutdown2.timer begin notice_all ( "Apagado en 1 minuto!" ) notice_all ( "Les recomendamos que salgan.." ) notice_all ( "Cualquier perdida no es responsabilidad nuestra." ) timer ( "shutdown3" , 20 ) end when shutdown3.timer begin notice_all ( "Apagado en 40 segundos!" ) notice_all ( "Les recomendamos que salgan.." ) notice_all ( "Cualquier perdida no es responsabilidad nuestra." ) timer ( "shutdown4", 31 ) end when shutdown4.timer begin notice_all ( "Reboot!" ) game . set_event_flag ( "test" , 1 ) timer ( "shutdown5" , 1 ) end when shutdown5.timer begin command ( "shutdown" ) game . set_event_flag ( "test" , 0 ) end end end Créditos Inforge 1 p0w3r0ff reacted to this Share this post Link to post Share on other sites
p0w3r0ff 3,795 Posted January 26, 2012 +1 vai ser muito util para mim obrigado Cumprimentos Share this post Link to post Share on other sites
TheSubKIller aka Skinning 261 Posted January 26, 2012 Quest mesmo útil, para ninguém perder itens ;D Share this post Link to post Share on other sites
UnWork 198 Posted January 29, 2012 =d MUITO BOA MESMO Share this post Link to post Share on other sites
Fábio Pereira 36 Posted July 10, 2012 meto isso onde? Share this post Link to post Share on other sites
Pเcค ;; 134 Posted July 13, 2012 o que e o shutdown Share this post Link to post Share on other sites
AkashaM2 14 Posted July 16, 2012 o que e o shutdownShutdown é tipo , mandares o servidor abaixo , para o pessoal sair todo do server , e depois dares reboot . Share this post Link to post Share on other sites
beka 1 Posted July 20, 2012 hmm Boa quest mesmo Obrigado.Cumprimentos Beka. Share this post Link to post Share on other sites