Help with dialogs
#1

I got an error while i was making an drp quiz

The script is

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == DIALOG_QUIZ)
	{
	    if(!response) return Kick(playerid);
	    if(response)
	    {
	        if(listitem == 0)
	        {
	            SendClientMessage(playerid, -1, "Wrong Answer");
				Kick(playerid);
			}
			if(listitem == 1)
			{
			    SendClientMessage(playerid, -1, "Thats Correct Answer");
			}
			SpwanPlayer(playerid);
		}
	 }
	 return 1;
}
The errors are
Код:
C:\Users\PART\Desktop\Desktop\samp03csvr_R2-2_win32\gamemodes\larp.pwn(34) : warning 201: redefinition of constant/macro (symbol "DIALOG_QUIZ")
C:\Users\PART\Desktop\Desktop\samp03csvr_R2-2_win32\gamemodes\larp.pwn(3376) : error 017: undefined symbol "SpwanPlayer"
Reply


Messages In This Thread
Help with dialogs - by nilanjay - 01.10.2011, 07:17
Re: Help with dialogs - by Jafet_Macario - 01.10.2011, 07:18
Re: Help with dialogs - by nilanjay - 01.10.2011, 07:24
Re: Help with dialogs - by Jafet_Macario - 01.10.2011, 07:27
Re: Help with dialogs - by nilanjay - 01.10.2011, 07:29
Re: Help with dialogs - by Slake - 01.10.2011, 07:31
Re: Help with dialogs - by Jafet_Macario - 01.10.2011, 07:33
Re: Help with dialogs - by nilanjay - 01.10.2011, 07:37

Forum Jump:


Users browsing this thread: 5 Guest(s)