What's wrong with this?
#1

When you click liste item 1 or 2 it should kick you but it doesnt o.o But the List item 0 works
Код:
if(dialogid == RP_QUIZQ1)
    {
        if(response) 
        {
            if(listitem == 0)
            {
                SendClientMessage(playerid, COLOR_YELLOW, "Correct!");
                return 1;
			}
			if(listitem == 1 && (listitem == 2))
			{
			    Kick(playerid);
			    SendClientMessage(playerid, COLOR_RED, "WRONG!");
			    return 1;
			}
		}
	}
Reply


Messages In This Thread
What's wrong with this? - by Squirrel - 22.03.2013, 15:57
Re: What's wrong with this? - by dusk - 22.03.2013, 16:01
Re: What's wrong with this? - by Rock - 22.03.2013, 16:02
Re: What's wrong with this? - by Squirrel - 22.03.2013, 16:03

Forum Jump:


Users browsing this thread: 1 Guest(s)