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

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.
Crayder covered me about including. As for outdated yea it is outdated because callbacks change with every samp's release and if you are using for a example a 0.3.7 include you will get tons of errors. Also including y_hook will also include some other YSI files which is a problem for some gamemodes.

Just use ALS hooking method, its easy and quick
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)