Compound statement not closing? Why?
#1

C:\Users\PhantoM21\Desktop\Test.pwn(54) : warning 217: loose indentation
C:\Users\PhantoM21\Desktop\Test.pwn(56) : error 030: compound statement not closed at the end of file (started at line 33)

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == 1)
	{
		if(response)
		{
		  //SendClientMessage(playerid,0x008000FF, "Enjoy your stay!");
		}
		else
		{
		  //SendClientMessage(playerid, 0xFF0000FF, "You selected 'Quit', therefore you got kicked. Goodbye!");
		  //Kick(playerid);
		}
		if(dialogid == 2)
		{
		if(response)
		{
			if(listitem == 0)
			{
			SendClientMessage(playerid,0xFF0000FF,"Test");
			}
		}
	}
	return 0;
}
if(dialogid == 1) Is line 33.
Return 0; Is line 54.
and the last } is line 56.
Reply


Messages In This Thread
Compound statement not closing? Why? - by Th3UnKnOwN - 26.08.2014, 05:06
Re: Compound statement not closing? Why? - by jessejanssen - 26.08.2014, 05:11
Re: Compound statement not closing? Why? - by Th3UnKnOwN - 26.08.2014, 05:23

Forum Jump:


Users browsing this thread: 1 Guest(s)