Please help :D
#1

Hello! I need some help here:

Код:
// Process the login-dialog
Dialog_Login(playerid, response, inputtext[])
{
	switch (response) // Check which button was clicked
	{
	    case 1: // Player clicked "Login"
		{
			// Check if the player entered a password
			if (strlen(inputtext) > 0)
			{
				// Check if the entered password is the same as the password saved in the player's account
			    if (strcmp(APlayerData[playerid][PlayerPassword], inputtext, false) == 0)
				{
					APlayerData[playerid][LoggedIn] = true; // The player has logged in properly
                    BankFile_Load(playerid); // Load your bank account (if it exists, the player will be notified about this)
					SendClientMessage(playerid, 0xFFFFFFFF, TXT_LoggedIn); // Send a message to the client to inform him that he logged in properly
				}
				else
				{
					SendClientMessage(playerid, 0xFFFFFFFF, TXT_WrongPassword);
					Kick(playerid);
				}
			}
			else
			{
				SendClientMessage(playerid, 0xFFFFFFFF, TXT_WrongPassword);
				Kick(playerid);
			}
		}
	    case 0: // Player clicked "Cancel"
		{
			// Show a message that the player must be logged in to play on this server
			SendClientMessage(playerid, 0xFFFFFFFF, TXT_PlayerMustLogin);
		    // Kick the player
			Kick(playerid);
		}
	}

	return 1;
}
I need to make "dots" on player password... this script is in PAWNO > INCLUDE , please help!

I am mapper, and i don't know script. Sorry if the answer is imposible
Reply
#2

NO ANSWERS?
Reply
#3

You made me LOL.
It not "DOTS" on player password
they are hashed passwords.
check https://sampforum.blast.hk/showthread.php?tid=366135
you can also use whirlpool

EDIT: Dont bump you post every minute..
Reply
#4

Quote:
Originally Posted by 0utLaW_
Посмотреть сообщение
You made me LOL.
It not "DOTS" on player password
they are hashed passwords.
check https://sampforum.blast.hk/showthread.php?tid=366135
you can also use whirlpool
You made me LOL.
It not "plugin".
they are dialog style.
check https://sampwiki.blast.hk/wiki/Dialog_Styles
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)