SA-MP Forums Archive
[help] Taxi Job Timer - 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)
+--- Thread: [help] Taxi Job Timer (/showthread.php?tid=305586)



[help] Taxi Job Timer - Sledge - 23.12.2011

Can someone give me a quick example of how I would set up a timer that when every one second passes, the amount a variable has increases by 25.


Re: [help] Taxi Job Timer - coole210 - 23.12.2011

Код:
//OnGameModeInit:
SetTimer("Timer",1000,true);
//Bottom
forward Timer();
public Timer()
{
Variable += 25;
}