22.09.2018, 16:32
is there a way to hook ptasks? i tried this:
and i get this when compiling:
the timer still runs, but the hooked code doesn't
Код:
ptask Justatimer[1000](playerid) { printf("Original code."); } hook:Justatimer(playerid) { printf("Hooked code.") }
Код:
warning 203: symbol is never used: "Justatimer@007"