Dialog problem
#2

only one single } was on the wrong place. this should fix it:
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid==1)
	{
		if(response)
		{
			SendClientMessage(playerid, COLOR_RED, "You have clicked 'Accept' so you accept the rules!");
		}
		else
		{
			SendClientMessage(playerid, COLOR_RED, "You have clicked 'Decline' so you don't accept the rules!");
			Kick(playerid);
		}
	}
	return 1;
}
Reply


Messages In This Thread
Dialog problem - by Razvann - 03.02.2010, 10:06
Re: Dialog problem - by Babul - 03.02.2010, 10:11

Forum Jump:


Users browsing this thread: 1 Guest(s)