Jump to content

[SOLVED] How to use/make periodic events


NetRaider

Recommended Posts

How can I use or make a periodic event?

Let's say I want to give money to players every 1 hour, just like a sign check.

I did something, but it doesn't work, I used System.Threading; , but it crashes when I call a function from a main thread inside the background thread function...

 

 

EDIT:

It crashed because I was making logs.txt, I wrote down the solution for the logs.txt

 

Edited by NetRaider
Solved
Link to comment
Share on other sites

  • NetRaider changed the title to [SOLVED] How to use/make periodic events

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