dialog problem please read & help
#1

ok so i made a dialog teleport menu and while making it i tested it and i click "stunt parks" then "las venturas" and nothing happens?? please help heres code


Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 9726)
    {
        if(response)
        {
            if(listitem == 0)   // Stunt Park Option From Teleport Main Menu
            {
            ShowPlayerDialog(playerid, 9872, DIALOG_STYLE_LIST, "Stunt Parks", "Las Venturas Airport", "Select", "");
            }
            if(listitem == 1)   // Hot Spots Option From Teleport Main Menu
            {
            SendClientMessage(playerid, 0xFF0000FF, "You Selected Hot Spots");
            }
            if(listitem == 2)   // Jumps Option From Teleport Main Menu
            {
            SendClientMessage(playerid, 0xFF0000FF, "You Selected Jumps");
            }
            if(listitem == 3)   // Base Jumps Option From Teleport Main Menu
            {
            SendClientMessage(playerid, 0xFF0000FF, "You Selected Base Jumps");
            }
            return 1;
		}
	    if(dialogid == 9872)
    	{
        if(response)
        {
            if(listitem == 0)   // Stunt Park Option From Teleport Main Menu
            {
            SendClientMessage(playerid, 0xFF0000FF, "You Picked Las Venturas");
            }
		}
	}
 }
	return 1;
}
thank you!!!



also sorry for the code this sites code just make the spaces messy
Reply


Messages In This Thread
dialog problem please read & help - by hadzx - 20.02.2011, 18:02
Re: dialog problem please read & help - by grand.Theft.Otto - 20.02.2011, 18:21
Re: dialog problem please read & help - by MadeMan - 20.02.2011, 18:38
Re: dialog problem please read & help - by hadzx - 20.02.2011, 18:58
Re: dialog problem please read & help - by MadeMan - 20.02.2011, 19:03
Re: dialog problem please read & help - by hadzx - 20.02.2011, 19:06

Forum Jump:


Users browsing this thread: 2 Guest(s)