Jump to content

Assistance real timer


rogerioexper

Recommended Posts

hello I'm in need of a base to make a real-time server script on the day and the night are changing very fast 10 in 10 minutes I want is 12 in 12 hours day and night on the server can help me

 



int getMinuteDuration ( )
----------------------------
setWeather ( 0 )
------------------------------
local weatherID = getWeather()
outputChatBox ( "The current weather ID is " .. weatherID )
---------------------------------
setWeather ( 9 )
outputChatBox ( "Weather changed to foggy!" )
------------------------------------------------------

I do not know which to use any script can give me an initiative

 

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...