• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Library] y_hooks 4 - Hook callbacks, functions, and natives.
#7
v0.2: Fixed Linux. Turns out SYSREQ.pri is broken there.



Also, how to hook long function names. `DEFINE_HOOK_REPLACEMENT` doesn't work with these (and sadly can't). But this does work:



PHP Code:
#define SPP SetPlayerPos hook function SPP(playerid, Float:x, Float:y, Float:z) { return continue(playerid, x, y, z 0.1); }
  Reply


Messages In This Thread
RE: y_hooks 4 - Hook callbacks, functions, and natives. - by Y_Less - 2019-08-04, 07:22 AM