pawn Code:
public OnPlayerSpawn(playerid)
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Accept the rules or quit:","*Dont Advertise*\n*Your rules..*","*Accept*","*Quit*");
return 1;
}
If I am not wrong, each time a guys will spawn he will see this dialog-box, but If some servers (freeroam,tdm) someone can easy spawn-killing when a players read the rules.. so I think it's will be better to add it here :
pawn Code:
public OnPlayerConnect(playerid)
{
return 1;
}