night hook?

Discussion in 'Plugin Development' started by Guaschman, Jan 11, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Guaschman

    I was just wondering if there is a hook to check if it is night or something?
     
  2. Offline

    PrivateAlpha

    hey you simply check the in-game RAW time.. i think:confused: still playing with it =]
     
  3. Offline

    Guaschman

    Ah, thanks
    --- merged: Jan 11, 2011 6:57 PM ---
    The thing i want to do is: if it's night the function will continue but if it's not it will check again (using a loop for that)
     
  4. Isnt that something like:
    if the RAWDaytime > RAWtime < RAWNighttime than check again in 30sec?

    Just program something like that in Java, right?
     
  5. Offline

    feverdream

    The above postrs are correct, you do this by looking at the current time.
     
Thread Status:
Not open for further replies.

Share This Page