Samp 0.3 Dialogue List problem
#1

i added a Dialogue for my Food shop.



Like how can i add You bought a Burger for Dialogue option 2?

Код:



Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  if(dialogid == 111)
  {
    SendClientMessage(playerid, COLOR_PURPLE, "* You have bought a Pizza!");
		GivePlayerMoney(playerid,-30);
    SetPlayerHealth(playerid,100);
    return 1;
  }
Heres my Dialogue
Код:
	if(pickupid == Food)
	{
  ShowPlayerDialog(playerid, 111, DIALOG_STYLE_LIST, "Food Shop", "Pizza\nBurger\nIce-Cream\nCoca-Cola", "Buy", "Leave");
	}
return 0;
}
Reply


Messages In This Thread
Samp 0.3 Dialogue List problem - by hardstop - 30.01.2010, 22:20
Re: Samp 0.3 Dialogue List problem - by LuxurioN™ - 30.01.2010, 22:22
Re: Samp 0.3 Dialogue List problem - by hardstop - 30.01.2010, 22:24
Re: Samp 0.3 Dialogue List problem - by LuxurioN™ - 30.01.2010, 22:28
Re: Samp 0.3 Dialogue List problem - by hardstop - 30.01.2010, 22:28
Re: Samp 0.3 Dialogue List problem - by LuxurioN™ - 30.01.2010, 22:31
Re: Samp 0.3 Dialogue List problem - by hardstop - 30.01.2010, 22:37
Re: Samp 0.3 Dialogue List problem - by GhoulSlayeR - 31.01.2010, 00:40

Forum Jump:


Users browsing this thread: 1 Guest(s)