14.09.2009, 17:51
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;
}