Could someone please help me with this?
#6

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  if(listitem == 1)
  {
  SendClientMessage(playerid,COLOR_WHITE,"Thank you for agreeing with the server terms of service."); //Feel free to change the message. :x
  return 1;
   }
   if(listitem == 0)
   {
  Kick(playerid);
  SendClientMessage(playerid, COLOR_RED, "You have been kicked for not agreeing with our server Terms of Service.");
  return 1;
   }
  return 1;
}
At least, that's how I did it with my GUI and it works perfectly.
Reply


Messages In This Thread
Could someone please help me with this? - by chaosnz - 14.09.2009, 06:50
Re: Could someone please help me with this? - by V1ceC1ty - 14.09.2009, 08:25
Re: Could someone please help me with this? - by Gappy - 14.09.2009, 08:25
Re: Could someone please help me with this? - by woot - 14.09.2009, 08:54
Re: Could someone please help me with this? - by chaosnz - 14.09.2009, 09:12
Re: Could someone please help me with this? - by (.Aztec); - 14.09.2009, 17:51
Re: Could someone please help me with this? - by G_ROW_Chez - 14.09.2009, 18:04
Re: Could someone please help me with this? - by FUNExtreme - 14.09.2009, 18:07

Forum Jump:


Users browsing this thread: 1 Guest(s)