[Ajuda] Hook ALS - Versão de Impressão +- Portal SAMP (https://portalsamp.com) +-- Fórum: SA-MP (https://portalsamp.com/forumdisplay.php?fid=5) +--- Fórum: Área de suporte (https://portalsamp.com/forumdisplay.php?fid=6) +--- Tópico: [Ajuda] Hook ALS (/showthread.php?tid=4923) |
Hook ALS - Rziin - 23/11/2024 Olá, estou tentando hookar a public OnPlayerClickPlayerTextDraw, porém ela excede os 31 caracteres suportados pelo compilador, como proceder? #if defined _ALS_OnPlayerClickPlayerTextDraw #undef OnPlayerClickPlayerTextDraw #else #define _ALS_OnPlayerClickPlayerTextDraw #endif #define OnPlayerClickPlayerTextDraw HOOK2_OnPlayerClickPlayerTextDraw #if defined HOOK2_OnPlayerClickPlayerTextDraw forward HOOK2_OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid); #endif includes/../modules/gameplay/login.pwn(88) : error 200: symbol "HOOK2_OnPlayerClickPlayerTextDr" is truncated to 31 characters includes/../modules/gameplay/login.pwn(154) : error 200: symbol "_ALS_OnPlayerClickPlayerTextDra" is truncated to 31 characters includes/../modules/gameplay/login.pwn(160) : error 200: symbol "HOOK2_OnPlayerClickPlayerTextDr" is truncated to 31 characters RE: Hook ALS - DeviceBlack - 30/11/2024 Diminua o tamanho então: Código PHP: #if defined _ALS_OnPlayerClickPlayerTextDraw |