Jump to content

Night/Day system!


Recommended Posts

  • Premium
5 hours ago, Celestin said:

Pay, there is no problem.

By python you can add to create a cfg file with a value.

 

def Test():
	val=1
	try:
		with open("test.cfg", 'r') as f:
			val=float(f.read().replace('\n', ''))
	except IOError:
		pass
	return float(val)
    
    and check with
    if test() == 1:

 

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.