Strange? What's Wrong With This
#4

Quote:
Originally Posted by Don Correlli
Try this:
pawn Код:
if(dialogid == 2)
{
  if(response)
  {
    if(!strlen(inputtext))
    {
      SendClientMessage(playerid, 0xFFFFFFFF, "Your Password Cannot be left Blank");
      return 1;
    }
    OnPlayerLogin(playerid, inputtext);
  }
  else
  {
    SendClientMessage(playerid, 0xFFFFFFFF, "You canceled!");
    Kick(playerid);
  }
}
Nope

Quote:
Originally Posted by _Xerxes_
It seems that your password your entering (or the password it is returning) is incorrect, since the only place that OnPlayerLogin wouldn't do anything, is after the password is incorrect. (It would only close the file, thus no indication)
If you study the code my closely, you will see that, when i put the incorrect code in, a message will come and so will a dialog.
Reply


Messages In This Thread
Strange? What's Wrong With This - by Eazy_Efolife - 05.12.2009, 23:50
Re: Strange? What's Wrong With This - by Grim_ - 05.12.2009, 23:58
Re: Strange? What's Wrong With This - by Correlli - 05.12.2009, 23:59
Re: Strange? What's Wrong With This - by Eazy_Efolife - 06.12.2009, 00:03
Re: Strange? What's Wrong With This - by Correlli - 06.12.2009, 00:04
Re: Strange? What's Wrong With This - by Grim_ - 06.12.2009, 00:06
Re: Strange? What's Wrong With This - by Eazy_Efolife - 06.12.2009, 00:12
Re: Strange? What's Wrong With This - by Eazy_Efolife - 06.12.2009, 01:36

Forum Jump:


Users browsing this thread: 2 Guest(s)