Jump to content

Exoflame

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Exoflame

  1. 10 hours ago, juandayz said:

     

    something like:

    
    waituntil {(round(time)) > 3600};
     if (time > 3600) then {hint "<SERVER-RESTART>:3hs";};
     
    waituntil {(round(time)) > 7200};
     if (time > 7200) then {hint "<SERVER-RESTART>:2hs";};
    
    waituntil {(round(time)) > 10800};
    if (time > 10800) then {hint "<SERVER-RESTART>:1hs";};
     
    waituntil {(round(time)) > 13800};
    if (time > 13800) then {hint "<SERVER-RESTART>:10 minutes";}; 

     

    this is enormously useful already, but this isnt proof against manual server restarts, i have made a scheduler on mygame panel that restarts the .exe file, so when i restart my server manually, it doesnt reset the timer for the auto-restart..

×
×
  • Create New...