SA-MP Forums Archive
Hooking Log Callback Names - 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)
+--- Thread: Hooking Log Callback Names (/showthread.php?tid=343493)



Hooking Log Callback Names - mprofitt - 17.05.2012

How can I hook a long call back name like OnPlayerClickPlayerTextDraw ?

I get the following error.
Код:
warning 200: symbol "_ALS_OnPlayerClickPlayerTextDra" is truncated to 31 characters



Re: Hooking Log Callback Names - FalconX - 17.05.2012

Quote:
Originally Posted by mprofitt
Посмотреть сообщение
How can I hook a long call back name like OnPlayerClickPlayerTextDraw ?

I get the following error.
Код:
warning 200: symbol "_ALS_OnPlayerClickPlayerTextDra" is truncated to 31 characters
Apparently it's just a name and can be changed with:-

pawn Код:
_H_OnPlayerClickPlayerTextDraw
Have a try
(I'm not sure if it really works but trying to help )
-FalconX


Re: Hooking Log Callback Names - Psymetrix - 17.05.2012

Delete.


Re: Hooking Log Callback Names - mprofitt - 17.05.2012

Quote:
Originally Posted by FalconX
Посмотреть сообщение
Apparently it's just a name and can be changed with:-

pawn Код:
_H_OnPlayerClickPlayerTextDraw
Have a try
(I'm not sure if it really works but trying to help )
-FalconX
I tried but get this error.

Код:
 : warning 203: symbol is never used: "OnPlayerClickPlayerTextDraw"



Re: Hooking Log Callback Names - mprofitt - 17.05.2012

Quote:
Originally Posted by mprofitt
Посмотреть сообщение
I tried but get this error.

Код:
 : warning 203: symbol is never used: "OnPlayerClickPlayerTextDraw"
Correction: You was right, it worked! Thanks.


Re: Hooking Log Callback Names - FalconX - 17.05.2012

Quote:
Originally Posted by mprofitt
Посмотреть сообщение
Correction: You was right, it worked! Thanks.
Glad I helped you x)

-FalconX