Player Dialog How to change function of second button?
#2

pawn Код:
ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Title", "Information", "Button 1", "Button");
OnDialogResponse:

pawn Код:
if(dialogid == dialogid)
{
   if(response == 0)
   {
      Kick(playerid);
   }
   if(response == 1)
   {
      SendClientMessage(playerid, NAME_COLOR, "Thank you for accepting the rules");
   }
}
return 1;
}
Reply


Messages In This Thread
Player Dialog How to change function of second button? - by Legit_V20 - 21.01.2011, 10:57
Re: Player Dialog How to change function of second button? - by ExeC - 21.01.2011, 11:01
Re: Player Dialog How to change function of second button? - by Legit_V20 - 21.01.2011, 11:07
Re: Player Dialog How to change function of second button? - by ExeC - 21.01.2011, 11:12
Re: Player Dialog How to change function of second button? - by HyperZ - 21.01.2011, 11:14
Re: Player Dialog How to change function of second button? - by Legit_V20 - 21.01.2011, 11:22

Forum Jump:


Users browsing this thread: 2 Guest(s)