04.04.2012, 05:57
How i can make when player connect to show the server rules and after that to show dialog for register or login (my register system is already made)
//OnPlayerConnect
ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Rules", "Your rules word here", "Accept", ""); //remember for newline just do /n
if(dialogid == dialogid) //replace dialogid (the second one) with your rules dialog id
{
if(response)
{
//your reg/log showplayerdialog here
}
}