Results 1 to 4 of 4

Thread: Go to Depot BEFORE Server Save and Logout

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

    Go to Depot BEFORE Server Save and Logout

    Hello guys, is there any way to make my character go to a protection zone 5 minutes before the server save and logout safe?


    Thanks

  2. #2
    Focus Group Gryllz's Avatar
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    3,480
    Mentioned
    89 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    236 Post(s)
    Reputation
    342
    Rep Power
    10
    Action at spawn:

    Lua Code:
     
    local time1 = "09:20"
    local time2 = "09:59"
     
    if (time() < time1 or time() > time2) then 
    gotolabel("depot")
    end



    In depot:

    Lua Code:
     
    local time1 = "09:20"
    local time2 = "09:59"
     
    if (time() < time1 or time() > time2) then 
    logout()
    end

  3. #3
    Normal User
    Join Date
    Jul 2013
    Posts
    26
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    23
    Rep Power
    4
    Quote Originally Posted by Gryllz View Post
    Action at spawn:

    Lua Code:
     
    local time1 = "09:20"
    local time2 = "09:59"
     
    if (time() < time1 or time() > time2) then 
    gotolabel("depot")
    end



    In depot:

    Lua Code:
     
    local time1 = "09:20"
    local time2 = "09:59"
     
    if (time() < time1 or time() > time2) then 
    logout()
    end

    Thanks for the help, i'll test it now

  4. #4
    iBot User
    Join Date
    Dec 2012
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0
    doesnt work, it doesnt recognize the time and logs out with anytime on.
    Any help?

Tags for this Thread

Posting Permissions

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