Problems Making a 'time loop"
#4

Thx for the reply ******, I was just trying your timer library. Here's what I did:
Код:
#define FILTERSCRIPT

#include <a_samp>
#include <foreach>
#include <YSI\y_timers>
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	task RepeatingTimer[60000]()
	{
    	foreach (new i : Player)
		{
		TogglePlayerClock(i, 1);
 		SetPlayerTime(i,0,0);
		}
	return 1;
	}
}

public OnFilterScriptExit()
{
    foreach (new i : Player)
	{
		TogglePlayerClock(i, 0);
	}
	return 1;
}

#else

main()

#endif
When I compile, I get this:
Код:
C:\Users\HeLiOn\Desktop\night24.pwn(12) : error 017: undefined symbol "RepeatingTimer@yT_"
C:\Users\HeLiOn\Desktop\night24.pwn(12) : error 029: invalid expression, assumed zero
C:\Users\HeLiOn\Desktop\night24.pwn(12) : error 017: undefined symbol "RepeatingTimer@yT_"
C:\Users\HeLiOn\Desktop\night24.pwn(12) : fatal error 107: too many error messages on one line
What am I doing wrong here?
Reply


Messages In This Thread
Problems Making a 'time loop" - by HeLiOn_PrImE - 27.02.2013, 14:06
Re: Problems Making a 'time loop" - by DaRk_RaiN - 27.02.2013, 14:16
Re: Problems Making a 'time loop" - by HeLiOn_PrImE - 27.02.2013, 16:02
Re: Problems Making a 'time loop" - by HeLiOn_PrImE - 27.02.2013, 17:03
Re: Problems Making a 'time loop" - by HeLiOn_PrImE - 27.02.2013, 17:25
Re: Problems Making a 'time loop" - by HeLiOn_PrImE - 28.02.2013, 16:15
Re: Problems Making a 'time loop" - by DaRk_RaiN - 28.02.2013, 16:20
Re: Problems Making a 'time loop" - by HeLiOn_PrImE - 28.02.2013, 16:24
Re: Problems Making a 'time loop" - by DaRk_RaiN - 28.02.2013, 16:27
Re: Problems Making a 'time loop" - by HeLiOn_PrImE - 28.02.2013, 16:44

Forum Jump:


Users browsing this thread: 2 Guest(s)