Server Rules
#1

Can somebody tell me what I must to do on OnDialogResponse:
-to kick automatically players if they click on "decline" on server rules dialog and show message to all players in the server that the player has declined the rules and has been automatically kicked?
-also to show to the player SendClientMessage(playerid,COLOR,"You have accepted the rules, Welcome to the server") if he click on "accept".

I made this to the moment, but I don't know what I must to do about previous things which I told about:
pawn Код:
#define Dialog_Rules 1 //Rules dialog

public OnPlayerConnect(playerid)
{
    ShowPlayerDialog(playerid,Dialog_Rules,0,"Server Rules:","1.Accept the rules if you want to play in the server!","Accept", "Decline");
    return 1;
}
Reply


Messages In This Thread
Server Rules - by x96664 - 25.05.2012, 21:12
Re: Server Rules - by Kindred - 25.05.2012, 21:46
Re: Server Rules - by Neil. - 25.05.2012, 22:18
Re: Server Rules - by x96664 - 26.05.2012, 11:23
Re: Server Rules - by skullmuncher1337 - 26.05.2012, 11:27
Re: Server Rules - by x96664 - 26.05.2012, 11:56

Forum Jump:


Users browsing this thread: 2 Guest(s)