Jump to content

If time get ?


papam77

Recommended Posts

I setted it to current time and doesn't work.
  
function check_water ( ) 
    local hours, _ = getTime ( )  
     
    if hours >= 18 then 
        killTimer ( waterTimer ) 
        setWaterLevel ( 5 ) 
         
        outputChatBox ( "Hai, water raised and timer killed.", root, 255, 111, 111, false ) 
    end 
end 
  
waterTimer = setTimer ( check_water, 1000, 0 ) 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...