[Ajuda] SetPlayerChatBubble
#5

Quote:
Originally Posted by johntrybescripter
Посмотреть сообщение
tenta:
pawn Код:
if(dialogid == 185)
    {
        TogglePlayerControllable(playerid, 1);
        if(response)
        {
           
                        new txt[128];
                        format(txt), sizeof(txt), "%s", strval(inputtext));

                        SetPlayerChatBubble(playerid,txt, 0xffff00FF, 100.0, 100000);
            SendClientMessage(playerid, 0xFFFFFFAA, "Vocк alterou o Tнtulo Personalizado.")
        }
          else { ShowPlayerDialog(playerid, 184, DIALOG_STYLE_LIST, "Menu Zye", "Titulo Personalizado", "Confirmar", "Sair"); }
    }

ou tenta assim sei la

pawn Код:
if(dialogid==185)
{
              TogglePlayerControllable(playerid, 1);
       
                if(!strval(inputtext)) return SendClientMessage(playerid, -1, "Digite o texto")  && ShowPlayerDialog(playerid, 184, DIALOG_STYLE_LIST, "Menu Zye", "Titulo Personalizado", "Confirmar", "Sair");
                if(!response) return SendClientMessage(playerid, -1, "Vocк fechou a ediзao de texto ");
        else
                {
           
                        new txt[128], new digito = strval(inputtext);
                        format(txt), sizeof(txt), "%s", digito);

                        SetPlayerChatBubble(playerid,txt, 0xffff00FF, 100.0, 100000);
            SendClientMessage(playerid, 0xFFFFFFAA, "Vocк alterou o Tнtulo Personalizado.")
        }
         return 1;
    }
Deu 6 warns e 2 erros :/, serб se eu deixar apenas inputtext invйs criar uma new e formatando-a irб funcionar de boa ?
Reply


Messages In This Thread
SetPlayerChatBubble - by AlvaroFranca - 02.03.2017, 22:44
Re: SetPlayerChatBubble - by johntrybescripter - 02.03.2017, 22:48
Respuesta: SetPlayerChatBubble - by AlvaroFranca - 02.03.2017, 22:59
Re: SetPlayerChatBubble - by johntrybescripter - 02.03.2017, 23:03
Respuesta: Re: SetPlayerChatBubble - by AlvaroFranca - 02.03.2017, 23:15
Re: SetPlayerChatBubble - by johntrybescripter - 02.03.2017, 23:17
Respuesta: SetPlayerChatBubble - by AlvaroFranca - 02.03.2017, 23:25
Respuesta: SetPlayerChatBubble - by AlvaroFranca - 02.03.2017, 23:30
Re: SetPlayerChatBubble - by johntrybescripter - 03.03.2017, 00:13

Forum Jump:


Users browsing this thread: 2 Guest(s)