18.06.2014, 17:33
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;
}