Hooking error
#1

Hello there everybody, hope Y'all having a good day
so I faced this problem while trying to hook OnPlayerClickPlayerTextDraw
PHP код:
#if defined _ALS_OnPlayerClickPlayerTextDraw
    #undef OnPlayerClickPlayerTextDraw
#else
    #define _ALS_OnPlayerClickPlayerTextDraw
#endif
forward Hk_OnPlayerClickPlayerTextDraw(playeridplayertextid);
public 
OnPlayerClickPlayerTextDraw(playeridPlayerText:playertextid){
/*
****** etc***
*/
    
CallLocalFunction("Hk_OnPlayerClickPlayerTextDraw""id"playerid_:playertextid);
    return 
1;

I get this error each time no matter what I try to do
Код:
warning 200: symbol "_ALS_OnPlayerClickPlayerTextDra" is truncated to 31 characters
I ******d this several times, and I found ou that this problem occurs when you have a symbol more than 31 characters. This is the limit and you can't really exceed it
Код:
_ALS_OnPlayerClickPlayerTextDraw has 32 characters, the problem is from it
so is there any way I can bypass this?
I tried using y_hooks but I got the same error
Thanks in advance
Reply


Messages In This Thread
Hooking error - by Eoussama - 22.06.2017, 10:34
Re: Hooking error - by Whatname - 22.06.2017, 11:05
Re: Hooking error - by Eoussama - 22.06.2017, 12:34
Re: Hooking error - by JasonRiggs - 22.06.2017, 12:36
Re: Hooking error - by OneDay - 22.06.2017, 12:42
Re: Hooking error - by Eoussama - 22.06.2017, 12:43
Re: Hooking error - by JasonRiggs - 22.06.2017, 12:47
Re: Hooking error - by OneDay - 22.06.2017, 14:11
Re: Hooking error - by Whatname - 22.06.2017, 14:23

Forum Jump:


Users browsing this thread: 1 Guest(s)