SA-MP Forums Archive
About dialogs in FS - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: About dialogs in FS (/showthread.php?tid=128344)



About dialogs in FS - Xecute - 17.02.2010

Shows the dialog, but never sends the client message:
Код:
public OnPlayerConnect(playerid)
{
	SendClientMessage(playerid,0xfafafa,"ShowPlayerDialog!");
	ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Login","Enter your password below:","Login","Cancel");
	return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	new str[256];
	format(str,sizeof(str),"dialogid=%d,response=%d,listitem=%d,inputtext=%s",dialogid, response, listitem, inputtext);
  SendClientMessage(playerid,0xfafafa,str);
	return 1;
}
why is that?


Re: About dialogs in FS - iron_war_lord - 17.02.2010

You might want to check this Topic: http://forum.sa-mp.com/index.php?topic=153394.0