killtimer because it does not work?
#9

@MP2: No of course that's not a great idea. I was more talking about variables like this:
Код:
new firstspawntimer;
new anticheattimer;
new healthregentimer;
new clockupdatetimer;
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.
Reply


Messages In This Thread
killtimer because it does not work? - by Daledos - 05.04.2013, 22:35
Re: killtimer because it does not work? - by stabker - 05.04.2013, 22:39
Re: killtimer because it does not work? - by Daledos - 05.04.2013, 23:06
Re: killtimer because it does not work? - by Basssiiie - 06.04.2013, 00:23
Re: killtimer because it does not work? - by MP2 - 06.04.2013, 01:08
Re: killtimer because it does not work? - by Basssiiie - 06.04.2013, 01:12
Re: killtimer because it does not work? - by Daledos - 06.04.2013, 01:34
Re: killtimer because it does not work? - by MP2 - 06.04.2013, 03:10
Re: killtimer because it does not work? - by Basssiiie - 06.04.2013, 08:24

Forum Jump:


Users browsing this thread: 7 Guest(s)