I'm trying to make a custom command with a timer in it, but I can't seem to get System.Timers to actually show its face.
I get this error when compiling:
Error #CS0234
Message: The type or namespace name 'Timers' does not exist in the namespace 'System' (are you missing an assembly reference?)
Line: 20
My code is:
- Code: Select all
System.Timers.Timer freezeTimer = new System.Timers.Timer(1000);
Even when I try to add 'System.Timers' to the libraries, it doesn't show up... http://puu.sh/28Egm
I can use System.Timers in anything else I code, just not for a custom command for MCDzienny. How can I fix this? Or is this something to do with the compiler for MCDzienny's custom commands? :S