How do I Dialog login with
#1

How do I Dialog login with
Reply
#2

doesnt make any sense
Reply
#3

like that:
when the player connects:
pawn Код:
ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "heading", "text", "OK", "Cancel");
and ondialogresponse
pawn Код:
if(dialogid == yourid)
{
  if(response == 1)
  {
    if(!strcmp(inputtext, actualpassword, true))
    {
      Log In
    }
  }
}
before trying yourself on a login system, learn the basics of dialogs and scripting^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)