Hi,
I wanted to create a script with different timers/ticks. Now it's crashing all the way.. And I don't know what timer I need to pick. Like in Scripthook for GTA 4 I can remember to create a new timer and set it's interval etc. (like a winforms timer). Now it's different.
I want to have intervals between different script files in my mod.
So for example:
.cs file 1: interval = 45000
.cs file 2: interval = 15000
.cs file 3: interval = 35
Just put this together in the last hour or so, see if this has anything that helps. https://drive.google.com/file/d/1NABuBaf59-L1DNYsSPVYen31JPPdRwfF/view?usp=sharing
I don't like using System timers, I prefer to use my own inside a game. This is a barebones project that demos the two classes inside, GTATimerStack and GTATimer. It's pretty simple as a design but it's flexible enough to allow you to have as many timers as you like, all at different intervals. It shows how to use share