SetTimerEx
#8

Look at my code which is not like yours.

Код:
SetTimerEx("VariableIncrease", 1000, false, "d", var1);

VariableIncrease(&var){
	var++;
}
This will increase var1 by 1.

If you want to increase other variables you can just do:

Код:
SetTimerEx("VariableIncrease", 1000, false, "d", var2);
SetTimerEx("VariableIncrease", 1000, false, "d", var3);
SetTimerEx("VariableIncrease", 1000, false, "d", var4);
and so on...
Reply


Messages In This Thread
SetTimerEx - by nesty - 29.01.2010, 13:40
Re: SetTimerEx - by Jeffry - 29.01.2010, 13:52
Re: SetTimerEx - by ray187 - 29.01.2010, 13:59
Re: SetTimerEx - by ray187 - 29.01.2010, 14:01
Re: SetTimerEx - by nesty - 29.01.2010, 15:20
Re: SetTimerEx - by ray187 - 30.01.2010, 11:02
Re: SetTimerEx - by nesty - 30.01.2010, 18:37
Re: SetTimerEx - by ray187 - 30.01.2010, 19:08
Re: SetTimerEx - by nesty - 30.01.2010, 19:17
Re: SetTimerEx - by ray187 - 30.01.2010, 19:26

Forum Jump:


Users browsing this thread: 1 Guest(s)