Settimer
#3

First,you have to add a variable for timer in this format:
Код:
forward TimersName (playerid);
Than,add a timer in a command,or somewhere else:
Код:
SetTimer("TimersName",10000,0); // 10000 is number of miliseconds,after that timer is active (1000ms -10 seconds)
After that,just add 0


At last,you have to add new public at end of your script:

Код:
public TimersName(playerid)
{
// Do something here,what will happen,after 10 seconds..
return 1;
}
Reply


Messages In This Thread
Settimer - by bleedis - 15.02.2012, 14:10
Re: Settimer - by fordawinzz - 15.02.2012, 14:40
Re: Settimer - by ComiGF - 15.02.2012, 14:46
Re: Settimer - by bleedis - 16.02.2012, 06:18

Forum Jump:


Users browsing this thread: 2 Guest(s)