YSI Hooks question
#1

Hi

I have two files with #include <YSI\y_hooks> on the top.

I've have a timer named PlayerTimer.

I tried to hook this timer in both files but I got this error:
Код:
error 021: symbol already defined: "@yH_PlayerTimer@006"
How I can fix this? And how I can hook my own callbacks?
Reply
#2

And how I can make a timer using y_timers that I can hook in other files? Ptasks did not start whenever my filterscript is reloaded just whenever I re-connect to the server
Reply
#3

Oh... Then I won't change the ALS hooking for the timers and I can use YSI hooks for callbacks. If I make my own callback should I use CallLocalFunction?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)