[Include] M_Functions.inc [REQUIRES: Y_Hooks][EARLY RELEASE]
#4

Quote:
Originally Posted by patrickgtr
View Post
I don't know where you got your information about y_hooks is outdated but y_hooks pretty much does the same but without the messy defines. secondly you need to include y_hooks every time you need to hook a function otherwise it will show an error saying that its already defined/hooked, even though he could've improved the code, I don't know why he had to hook OnPlayerConnect and OnPlayerDisconnect more than once with containing only 1 code.
The correct way to use y_hookd is including it ONCE in every file it will be used. You should not be hooking callbacks multiple times in the same file.
Reply


Messages In This Thread
M_Functions.inc (Deleted) - by Luicy. - 22.06.2016, 18:59
Re: M_Functions.inc [REQUIRES: Y_Hooks][EARLY RELEASE] - by Private200 - 22.06.2016, 19:54
Re: M_Functions.inc [REQUIRES: Y_Hooks][EARLY RELEASE] - by SecretBoss - 22.06.2016, 20:40
Re: M_Functions.inc [REQUIRES: Y_Hooks][EARLY RELEASE] - by Crayder - 22.06.2016, 22:40
Re: M_Functions.inc [REQUIRES: Y_Hooks][EARLY RELEASE] - by Gammix - 22.06.2016, 23:36
Re: M_Functions.inc [REQUIRES: Y_Hooks][EARLY RELEASE] - by SecretBoss - 23.06.2016, 06:50

Forum Jump:


Users browsing this thread: 1 Guest(s)