15.04.2014, 02:42
Quote:
Make sure you load the player's password into pInfo before you compare the strings because strcmp will return 0 (aka say the strings match) if one of the strings is empty. So if you don't load the password before you compare them then pInfo[playerid][pPass] will be empty and it will accept any password.
|
pawn Код:
enum PlayerInfo
{
pPass[128],
pKills,
pDeaths,
pVip,
pAdmin
}