Dialog Problem
#1

Hey all, my first try with dialogs..

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if (dialogid==2500)
	  {  if (response==1)
	      {
				 SendClientMessage(playerid, 0x00000FFF, "Jetzt mьsste was kommen");
				 ShowPlayerDialog(playerid, 2501, DIALOG_STYLE_LIST, "Fahrzeug auswдhlen", "Sanchez \nQuad \nVortex \nMonster Truck \nBandito \nKart","Los", "Abbrechen");
				}
	 	}
Neither the SendClientMessage nor the Dialog 2501 appears, but dialog 2500 does :/

Hope someone has an idea..

Bloody
Reply
#2

Is dialog 2500 a List box or a Input box?

If it is LIST_BOX

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if (dialogid==2500 && response)
	{ 
        if (listitem==1)
	    {
			 SendClientMessage(playerid, 0x00000FFF, "Jetzt mьsste was kommen");
			 ShowPlayerDialog(playerid, 2501, DIALOG_STYLE_LIST, "Fahrzeug auswдhlen", "Sanchez \nQuad \nVortex \nMonster Truck \nBandito \nKart","Los", "Abbrechen");
		 }
	 }
Reply
#3

2500 is Message Box
Reply
#4

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if (dialogid==2500)
	  {  
    if (response)
	      {
				 SendClientMessage(playerid, 0x00000FFF, "Jetzt mьsste was kommen");
				 ShowPlayerDialog(playerid, 2501, DIALOG_STYLE_LIST, "Fahrzeug auswдhlen", "Sanchez \nQuad \nVortex \nMonster Truck \nBandito \nKart","Los", "Abbrechen");
				}
	 	}
return 1;
}
try this
Reply
#5

Ђ: solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)