Jump to content
  • 0

Bug Login Dialog


AsSsASIN

Question

Dialog :

	if(dialogid == 4)
	{
		if(strlen(inputtext))
		{
			new tmppass[64];
			strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
			Encrypt(tmppass);
			OnPlayerLogin(playerid,tmppass);
		}
		else
		{
			new loginstring[128];
			new loginname[64];
			GetPlayerName(playerid,loginname,sizeof(loginname));
			format(loginstring,sizeof(loginstring),"WRONG PASSWORD\nPlease enter the correct password:",loginname);
			ShowPlayerDialog(playerid,4,DIALOG_STYLE_INPUT,"Login",loginstring,"Login","Exit");
		}
	}

Cand dau login cu orce parola m-as loga tot ma baga!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.