Question about SetTimer - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question about SetTimer (
/showthread.php?tid=222140)
Question about SetTimer -
styl3raaa - 06.02.2011
How to do a SetTimer to give each point a minute?
AW: Question about SetTimer -
!Phoenix! - 06.02.2011
Could you explain it a little bit more? I have no idea what you could mean.
Do you want to give a player a point for every minute he's online?
Re: Question about SetTimer -
Ironboy500[TW] - 06.02.2011
Код:
public OnGameModeInit()
{
SetTimer("Add", 60000, true);
return 1;
}
forward Add();
public Add()
{
Points++;
return 1;
}
Something like that?
Re: Question about SetTimer -
styl3raaa - 06.02.2011
Add code after OnGameModeInit and crashed my program pawno