Simple question (y_hooks) not working - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Simple question (y_hooks) not working (
/showthread.php?tid=649101)
Simple question (y_hooks) not working -
RedGun2015 - 02.02.2018
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?
Re: Simple question (y_hooks) not working -
Dayrion - 02.02.2018
y_hook must be included everywhere it used.
Re: Simple question (y_hooks) not working -
RedGun2015 - 03.02.2018
Quote:
Originally Posted by Dayrion
y_hook must be included everywhere it used.
|
I try, but is not working..
Re: Simple question (y_hooks) not working -
Sew_Sumi - 03.02.2018
Quote:
Originally Posted by RedGun2015
I try, but is not working..
|
What's it doing, or how do you know it's actually failing?