Simple question (y_hooks) not working
#1

So, i try to change my gamemode to a modular gamemode, so, I have a little problem when i need to call some functions in another includes.

I have in main.inc > https://pastebin.com/kfG5XkPg
and in another.inc > https://pastebin.com/PGtYR3xF

And the function (OnPlayerDeath) isn't hook/called in another.inc, why?
Reply
#2

y_hook must be included everywhere it used.
Reply
#3

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
y_hook must be included everywhere it used.
I try, but is not working..
Reply
#4

Quote:
Originally Posted by RedGun2015
Посмотреть сообщение
I try, but is not working..
What's it doing, or how do you know it's actually failing?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)