06.04.2013, 08:24
@MP2: No of course that's not a great idea. I was more talking about variables like this:
There are reasons where you want to use this instead of an array. If you would make an array called "new timerlist[4]", it's less clear what timer each slot holds. Of course you can use enum's as well to solve this problem, but why the extra hassle? Using four different variables is not that big of a deal and can be easier for someone reading the script.
If you really want to put things in arrays, you could also just use "new variable[200]" and never initialize any variable after that. Only use that array to save variables. That's possible too, but it isn't very easy to use.
I'm sorry if my previous posts were a bit unclear.
Код:
new firstspawntimer; new anticheattimer; new healthregentimer; new clockupdatetimer;
If you really want to put things in arrays, you could also just use "new variable[200]" and never initialize any variable after that. Only use that array to save variables. That's possible too, but it isn't very easy to use.
I'm sorry if my previous posts were a bit unclear.