y_timers question
#3

is there a way to hook ptasks? i tried this:

Код:
ptask Justatimer[1000](playerid)
{
	printf("Original code.");
}

hook:Justatimer(playerid)
{
	printf("Hooked code.")
}
and i get this when compiling:

Код:
warning 203: symbol is never used: "Justatimer@007"
the timer still runs, but the hooked code doesn't
Reply


Messages In This Thread
y_timers question - by wallee - 21.09.2018, 17:58
Re: y_timers question - by kingmk - 21.09.2018, 19:18
Re: y_timers question - by wallee - 22.09.2018, 16:32
Re: y_timers question - by VVWVV - 22.09.2018, 16:41
Re: y_timers question - by VVWVV - 22.09.2018, 17:54
Re: y_timers question - by wallee - 22.09.2018, 23:08
Re: y_timers question - by wallee - 22.09.2018, 23:52
Re: y_timers question - by wallee - 23.09.2018, 18:16

Forum Jump:


Users browsing this thread: 2 Guest(s)