[duvida]Dialog_Style_Input
#3

rjjj valeu nao ta mandnado a mensagem so
ondialogresp:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 14)
{
 //
 if(response == 0)
{
if(response == 1)
{
new string [256];
format(string,sizeof(string),"Anuncio: %s,Contato: %s Telefone: %d",inputtext,sendername,PlayerInfo[playerid][pPnumber]);
SendClientMessageToAll(TEAM_GROVE_COLOR, string);
}
       return 1;
            }
            return 1;
        }
comando;
pawn Код:
if(strcmp(cmdtext, "/anunciar", true) == 0)
    {
new string [256];
    ShowPlayerDialog(playerid, 14, DIALOG_STYLE_INPUT, "Anuncio", string, "Anunciar", "Cancelar");
return 1;
}
Reply


Messages In This Thread
[duvida]Dialog_Style_Input - by Xapita_Halls - 21.12.2010, 22:42
Re: [duvida]Dialog_Style_Input - by rjjj - 21.12.2010, 23:14
Re: [duvida]Dialog_Style_Input - by Xapita_Halls - 22.12.2010, 00:27
Re: [duvida]Dialog_Style_Input - by Sergiinhonike - 22.12.2010, 00:36
Re: [duvida]Dialog_Style_Input - by Victos_xd - 05.08.2011, 16:10
Re: [duvida]Dialog_Style_Input - by RockFire - 05.08.2011, 16:21
Re: [duvida]Dialog_Style_Input - by Victos_xd - 05.08.2011, 16:23
Re: [duvida]Dialog_Style_Input - by Miqueias Barros - 05.08.2011, 19:32

Forum Jump:


Users browsing this thread: 1 Guest(s)