• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] y_hooks multiple includes
#1
Shocked 
I have a problem using y_hooks:

I have the main gamemode (main.pwn), and two "modules" that are included in it: "module1.inc" and "module2.inc".



In both of them, I have to use y_hooks. From what I knew, you had to reinclude y_hooks if you wanted to hook to the same function, so at top of each module, I have

Code:
#include "..\include\YSI\y_hooks.inc"

But I get a "symbol already defined" error in "module2" for the callbacks that have already been hooked to in the first one.
  Reply


Messages In This Thread
y_hooks multiple includes - by iReal Worlds - 2019-06-07, 03:54 PM
RE: y_hooks multiple includes - by Y_Less - 2019-06-08, 12:55 AM
RE: y_hooks multiple includes - by iReal Worlds - 2019-06-10, 01:14 PM
RE: y_hooks multiple includes - by Y_Less - 2019-06-11, 06:36 PM

Forum Jump: