How do I create a new instance of a timer?
so I can use this:
Code:timer.Repeat(5f, 0, () => { Puts("Hello world!") });
Creating a new timer C#
Discussion in 'Rust Development' started by ✪ Welzh, Apr 1, 2017.
-
Wulf Community Admin
That's your instance right there.
What exactly are you wanting to do? -
Just a quick question,
I usally don't store the return value of the timer and destroy it if i unload my plugin.
Is that handled by oxide internally that it keeps tracks of all plugins created by a plugin and destroys them if you unload the plugin? -
Wulf Community Admin
-
Gyazo - b5c9f9efb9385cb0b17a56978164b020.png
this is currently what happens -
Wulf Community Admin
Looks like you're missing a reference to Oxide.Core.CSharp.dll.