About dialogs in FS
#1

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?
Reply
#2

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


Forum Jump:


Users browsing this thread: 1 Guest(s)