Results 1 to 4 of 4

Thread: Criar alerta para X minutos antes do server save?

  1. #1
    Normal User
    Join Date
    Nov 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Criar alerta para X minutos antes do server save?

    Teria como criar um alerta deste tipo?

    digamos alertar 20minutos antes do serve save :|

    Obg

  2. #2
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    Lua Code:
    local SS_TIME = "10:00"
    local ALARM_TIME = "09:40"
     
    if time() >= ALARM_TIME and time() < SS_TIME then
    playsound("alert.wav")
    end
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  3. #3
    Normal User
    Join Date
    Nov 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Obrigado.

    Só uma pergunta:
    Esse horario teria de ser mudado para o qual eu moro? ou seria este mesmo?

  4. #4
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    vc deve ajustar de acordo com o relógio do seu computador.
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •