08.08.2011, 21:28
strcmp function returns 0 if the strings passed to the function match. Also, you should check the case sensitivity of the password, changing the bool: ignore_case parameter to false.
Also, I highly recommend you hash/encrypt your passwords.
pawn Код:
if( !strcmp( PlayerData[ playerid ][ pPassword ], inputtext, false ) )
{
// Load data
}