11.02.2015, 23:25
Hello.
Im not quite familiar with timers. Today i wanted to do a timer, that adds a value to a variable each minute.
so this is what i came up with:
It does not seem to be working...
Im not quite familiar with timers. Today i wanted to do a timer, that adds a value to a variable each minute.
so this is what i came up with:
PHP код:
forward RudaTime();
//On gamemode init:
SetTimer("RudaTime",60,true);
//in the end of the file:
public RudaTime()
{
RudaBank = RudaBank + 200;
return 1;
}