Timers.
#1

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:
PHP код:
forward RudaTime();
//On gamemode init:
    
SetTimer("RudaTime",60,true);
//in the end of the file:
public RudaTime()
{
    
RudaBank RudaBank 200;
    return 
1;

It does not seem to be working...
Reply
#2

1 sec = 1000ms
so result for 1 min = 60*1000 and RudaBank += 200;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)