PDA

View Full Version : Help with Script (rep ++)


boyan96
04/04/2012, 05:57 AM
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)

Reklez
04/04/2012, 06:02 AM
//OnPlayerConnect

ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Rules", "Your rules word here", "Accept", ""); //remember for newline just do /n


then OnDialogResponse


if(dialogid == dialogid) //replace dialogid (the second one) with your rules dialog id
{
if(response)
{
//your reg/log showplayerdialog here
}
}