Dialog probs
#1

What makes this dialog dont work? I made it with command and it works, seems that OnDialogResponse is the problem


Код:
	if (strcmp("/command", cmdtext, true, 10) == 0)
	{
    	ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Blah Blah","Blah Blah","Done","Cancel");
		return 1;
	}



public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == 1)
	{
		if(response)
		{
// My staff here
		}
		return 1;
	}
	return 0;
}
The response have no effect
Reply


Messages In This Thread
Dialog probs - by TouR - 28.07.2010, 22:26
Re: Dialog probs - by venturas12 - 28.07.2010, 23:37
Re: Dialog probs - by snoob - 29.07.2010, 00:10
Re: Dialog probs - by TouR - 29.07.2010, 07:51

Forum Jump:


Users browsing this thread: 1 Guest(s)