SA-MP Forums Archive
[HELP] how i make a 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] how i make a timer? (/showthread.php?tid=118893)



[HELP] how i make a timer? - jordylol6 - 05.01.2010

hello,

I need a timer for gta samp've tried everything I know someone has a good script for a timer plz help me

sorry for my bad English


Re: [HELP] how i make a timer? - SiJ - 05.01.2010

[pawn]
//On any callback
SetTimer("MyTimer",5*1000,0) // MyTimer will be executed in 5 seconds

//not on callback
forward MyTimer();
public MyTimer()
{
//Some code will be executed here after 5 seconds..
}
[/pawm]


Re: [HELP] how i make a timer? - jordylol6 - 05.01.2010

thanks