17.06.2010, 18:23
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
if(dialogid == 1)
{
new targetid = strval(inputtext);
if(IsPlayerConnected(targetid))
{
SendClientMessage(targetid, 0xFFFFFFF, "Your message");
}
}
}
return 1;
}