Symbol already defined (variable) in OnDlgResponse
#7

Its a filterscript?
if(it is then)
{
define this after includes
Код:
#define FILTERSCRIPT
}
else
{
try this
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	switch(dialogid)
	{
		new header[32];
		case D_QUIZ_START:
		{
			if(!response)
			{
				gs_OptionOpened[playerid] = false;
				SelectTextDraw(playerid, 0xFFFFFF75);

			}
			else
			{
				gs_CurrentQuizQuestion[playerid]++;


				new
					body[128],
					question,
					randomex[4][1],
					j,
					finalporadie[4],
					temp
				;
			}
		}

		case D_QUIZ_Q1:
		{
			if(!response)
			{

			}
			else
			{
                        }
		}
	}

	#if defined login_OnDialogResponse
		return login_OnDialogResponse(playerid, dialogid, response, listitem, inputtext);
	#else
		return 1;
	#endif
}
#if defined _ALS_OnDialogResponse
	#undef OnDialogResponse
#else
	#define _ALS_OnDialogResponse
#endif

#define OnDialogResponse login_OnDialogResponse
#if defined login_OnDialogResponse
	forward login_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);
#endif
}
Reply


Messages In This Thread
Symbol already defined (variable) in OnDlgResponse - by Riwerry - 08.02.2016, 14:45
Re: Symbol already defined (variable) in OnDlgResponse - by Karan007 - 08.02.2016, 15:02
Re: Symbol already defined (variable) in OnDlgResponse - by jlalt - 08.02.2016, 15:10
Re: Symbol already defined (variable) in OnDlgResponse - by Riwerry - 08.02.2016, 15:12
Re: Symbol already defined (variable) in OnDlgResponse - by SecretBoss - 08.02.2016, 15:30
Re: Symbol already defined (variable) in OnDlgResponse - by Vince - 08.02.2016, 15:50
Re: Symbol already defined (variable) in OnDlgResponse - by K0P - 08.02.2016, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)