Samp 0.3 Dialogue List problem
#5

Thanx Got it working

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if (dialogid == 111)
	{
	if(response)
	{
	if(listitem == 0)
	{
	SendClientMessage(playerid, COLOR_PURPLE, "* You have bought a Pizza!");
	GivePlayerMoney(playerid,-30);
	SetPlayerHealth(playerid,100);
	}
	}
	if(listitem == 1)
	SendClientMessage(playerid, COLOR_PURPLE, "* You have bought a Burger!");
	GivePlayerMoney(playerid,-30);
	SetPlayerHealth(playerid,100);
	return 1;
	}

  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)