Help with Script (rep ++)
#1

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)
Reply
#2

pawn Код:
//OnPlayerConnect

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

pawn Код:
if(dialogid == dialogid) //replace dialogid (the second one) with your rules dialog id
{
      if(response)
      {
           //your reg/log showplayerdialog here
      }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)