PM error dialog
#2

Try This:

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  switch(dialogid)//if your using only one dialog this isn't needed but you never know.
        {
        case 3:
            {
                 if(strlen(inputtext) > 0)
                 {
                     SendClientMessage(playerid,0xFFFFFFAA,inputtext);
                 }
                 else
                 {
                     SendClientMessage(playerid,0xFFFFFFAA,"Your input was too short.");
                 }
            }
    }
    return 1;
}
Reply


Messages In This Thread
PM error dialog - by kosa451 - 18.06.2014, 17:29
Re: PM error dialog - by diego200052 - 18.06.2014, 17:33
Re: PM error dialog - by Guest4390857394857 - 18.06.2014, 17:33
Re: PM error dialog - by Golf - 18.06.2014, 17:44
Re: PM error dialog - by Cutt3r - 18.06.2014, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)