03.02.2010, 10:11
only one single } was on the wrong place. this should fix it:
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid==1) { if(response) { SendClientMessage(playerid, COLOR_RED, "You have clicked 'Accept' so you accept the rules!"); } else { SendClientMessage(playerid, COLOR_RED, "You have clicked 'Decline' so you don't accept the rules!"); Kick(playerid); } } return 1; }