Callback hooking
#1

I have include file, where i hooked few callbacks. Everything is good, but on two callbacks, warning's pops up.

Code:
pawn Код:
return CallLocalFunction("P_OnPlayerClickTextDraw", "ii", playerid, clickedid);
return CallLocalFunction("P_OnPlayerClickTextDraw","ii", playerid, playertextid);
Warning: "Tag mismatch."

Yes I treid with "dd", "is" etc.
Reply
#2

I can't use y_hooks because gamemode that I edit can't use newer YSI. I don't know why, I updated all of mine include files and debugged gamemode but still compiler crash at beggining.
Reply
#3

Then work with state maschine like ****** even wrote.
The latest version of ALS hooks

https://sampforum.blast.hk/showthread.php?tid=387600
Reply
#4

Quote:
Originally Posted by IPrototypeI
Посмотреть сообщение
Then work with state maschine like ****** even wrote.
The latest version of ALS hooks

https://sampforum.blast.hk/showthread.php?tid=387600
Thank you. I will try this hooking option.
Reply


Forum Jump:


Users browsing this thread: