Portal SAMP
[Ajuda] textdraw nao esconde - 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] textdraw nao esconde (/showthread.php?tid=2645)



textdraw nao esconde - DM110 - 11/08/2022

a TD_NUBANK nao esconde de jeito nenhum. Obs: por comando ela exclui mas por ai nao


Código PHP:
if(clickedid == TD_CELL[71]) // voltar
    {
        CancelSelectTextDraw(playerid);
        SelectTextDraw(playerid0xFF0000FF);

        for( new 0sizeof(TD_TELEFONE); i++)
        {
            
            TextDrawHideForPlayer
(playeridTD_TELEFONE[i]);
        }
        PlayerTextDrawHide(playeridPTD_TELEFONE[playerid]);

        for( new 0sizeof(TD_TELALIGANDO); i++)
        {
            
            TextDrawHideForPlayer
(playeridTD_TELALIGANDO[i]);
        }
        PlayerTextDrawHide(playeridPTD_TELALIGANDO[playerid]);

        //------------------------------------------------------------------
        for( new 0sizeof(TD_CONTATOS); i++)
        {
            
            TextDrawHideForPlayer
(playeridTD_CONTATOS[i]);
        }
        for( new 0sizeof(PTD_CONTATOS); i++)
        {
            
            PlayerTextDrawHide
(playeridPTD_CONTATOS[playerid][i]);
        }

        //---------------------------------------------------------------
        for( new 0sizeof(TD_NUBANK); i++)
        {
            
            TextDrawHideForPlayer
(playeridTD_NUBANK[i]);
        }
        for( new 0sizeof(PTD_NUBANK); i++)
        {
            
            PlayerTextDrawHide
(playeridPTD_NUBANK[playerid][i]);
        



RE: textdraw nao esconde - CoelhaO_LokaO - 11/08/2022

TextDrawHideForPlayer(playerid, TD_NUBANK[i]);
verefica se nao e com max_PLAYER


TextDrawHideForPlayer(playerid, TD_NUBANK[i]);
TD_NUBANK[playerid][i]


RE: textdraw nao esconde - DM110 - 12/08/2022

pior que nao e isso

a partir da terceiro loop nao some, alguem ??

resolvido


RE: textdraw nao esconde - domingues93 - 12/08/2022

Código PHP:
if(clickedid == TD_CELL[71]) // voltar
    {
        CancelSelectTextDraw(playerid);
        SelectTextDraw(playerid0xFF0000FF);

        for( new 0sizeof(TD_TELEFONE); i++)
        {
            
            TextDrawHideForPlayer
(playeridTD_TELEFONE[i]);
        }
        PlayerTextDrawHide(playeridPTD_TELEFONE[playerid]);

        for( new 0sizeof(TD_TELALIGANDO); i++)
        {
            
            TextDrawHideForPlayer
(playeridTD_TELALIGANDO[i]);
        }
        PlayerTextDrawHide(playeridPTD_TELALIGANDO[playerid]);

        //------------------------------------------------------------------
        for( new 0sizeof(TD_CONTATOS); i++)
        {
            
            TextDrawHideForPlayer
(playeridTD_CONTATOS[i]);
        }
        for( new 0sizeof(PTD_CONTATOS[]); i++)
        {
            
            PlayerTextDrawHide
(playeridPTD_CONTATOS[playerid][i]);
        }

        //---------------------------------------------------------------
        for( new 0sizeof(TD_NUBANK); i++)
        {
            
            TextDrawHideForPlayer
(playeridTD_NUBANK[i]);
        }
        for( new 0sizeof(PTD_NUBANK[]); i++)
        {
            
            PlayerTextDrawHide
(playeridPTD_NUBANK[playerid][i]);