Its possible to destroy a timer so it wont enter into a infinity loop when called several times?
Destroy a timer.Repeat func?
Discussion in 'Rust Development' started by TheRotAG, Feb 9, 2015.
-
Wulf Community Admin
Unload your plugin properly.
I'm not sure how it works with C#, but for Lua: http://docs.oxidemod.org/#destroying-a-timer -
what ever you declare your timer name in c# make sure its declared just under the class so you can access it from all voids then simply just on the onTick event call back you setup call or anywhere else ofcourse yourdeclaredtimername.Stop();
look in my anti Speed Hack for c# timersLast edited by a moderator: Feb 10, 2015