SA-MP Forums Archive
problem to close dialogid window - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: problem to close dialogid window (/showthread.php?tid=127526)



problem to close dialogid window - jasonnw666 - 13.02.2010

i have a script but the window don't close when i clic on "shutdown"

Code:
	// menь
	if(dialogid == 41)
	{
	  if(response)
    {
      ShowPlayerDialog(playerid, 42, DIALOG_STYLE_LIST, "Menu - Windows Seven:", "Microsoft Office Outlook 2010\nWindows Live Messenger 9.0\nInternet Explorer BETA1\nEMAIL BOX:READ EMAILS\nEMAIL BOX:DELETE EMAILS", "Select", "Shut Down");
    }
    return 1;
	}
	//
what can be the problem?


Re: problem to close dialogid window - Miguel - 13.02.2010

pawn Code:
if(dialogid == 41)
{
  if(response)
  {
    ShowPlayerDialog(playerid, 42, DIALOG_STYLE_LIST, "Menu - Windows Seven:", "Microsoft Office Outlook 2010\nWindows Live Messenger 9.0\nInternet Explorer BETA1\nEMAIL BOX:READ EMAILS\nEMAIL BOX:DELETE EMAILS", "Select", "Shut Down");
  }
}
Try that.