[Plugin] mHooks - Esay hooking callback and public functions!
#7

New release:
Fixed to crash during the dialog response.
Fixed a crash related to the empty string.
Added HOOKS_GetVersion and optimize code.

https://github.com/piatus/samp-hooks/releases/tag/1.2.3

Quote:
Originally Posted by zT KiNgKoNg
Посмотреть сообщение
Along with what Abagail said, it's also pretty useless compared to y_hooks mainly because in my eyes it isn't "Scripter-Friendly", but if you improve on it..... Then it might be better.
In y_hooks for example, not hooking up your own callbacks / public functions.
mhooks can be nicely used, for example timers with hooks.
Код:
#define htask:%0[%1](%2) %0HOnScrInit(); public %0HOnScrInit() return SetTimer(#%0,%1,true); %0();public %0() return @HOOKS_CallHook(#%0); zdH%0(); public zdH%0()
Use on
Код:
HOOK:CTest.OnlyTesting()
{
	printf("OnlyTesting class CTest hooked");
	return 1;
}
htask:OnlyTesting[1000]() 
{
	printf("OnlyTesting called");
	return 1;
}
The possibilities are many more.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)