OnDialogResponse - something wrong.
#1

Hi there.
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  if(dialogid == 555)
  {
    if (!strcmp(inputtext, amount[playerid]))
    {
        SetPlayerChatBubble(npcid,"Thank you, Sir! Enjoy your drink.",0xFFFFFFAA,20,4000);
		SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
		return 1;
	}
  }
  return 0;
}
The amount[playerid] is ALWAYS a digit, for example 7. Why is this not working?
Reply


Messages In This Thread
OnDialogResponse - something wrong. - by Striker_Moe - 04.11.2009, 12:00
Re: OnDialogResponse - something wrong. - by CracK - 04.11.2009, 12:08
Re: OnDialogResponse - something wrong. - by Striker_Moe - 04.11.2009, 12:12
Re: OnDialogResponse - something wrong. - by Correlli - 04.11.2009, 12:13
Re: OnDialogResponse - something wrong. - by Striker_Moe - 04.11.2009, 12:31
Re: OnDialogResponse - something wrong. - by CracK - 04.11.2009, 13:55
Re: OnDialogResponse - something wrong. - by Striker_Moe - 04.11.2009, 14:15
Re: OnDialogResponse - something wrong. - by Striker_Moe - 04.11.2009, 14:18
Re: OnDialogResponse - something wrong. - by Benne - 04.11.2009, 14:20

Forum Jump:


Users browsing this thread: 2 Guest(s)