SA-MP Forums Archive
Hooking into callbacks? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Hooking into callbacks? (/showthread.php?tid=274229)



Hooking into callbacks? - ScottCFR - 05.08.2011

Was curious how to hook into callbacks, found a great tutorial on how to hook into Functions, just nothing about callbacks. Is it the same method?

- Scott


Re: Hooking into callbacks? - Toni - 05.08.2011

I'm not sure what you exactly mean, but have you ever looked into ******'s y_hooks system?


Re: Hooking into callbacks? - ScottCFR - 05.08.2011

Well, I found this: https://sampforum.blast.hk/showthread.php?tid=187195 . I was wondering if it worked the same for Callbacks, or a different method?


Re: Hooking into callbacks? - iggy1 - 05.08.2011

Take a look at this tutorial, https://sampforum.blast.hk/showthread.php?tid=85907 Look at the "transparent implementation" section.

****** has also realeased a library for hooking callbacks called y_hooks.