07.08.2011, 17:10
Hello, I want to know how i can deycrpt a num_hash for a user.
in the command /getpass
And the user files location is RRP/Users
I need it like this :
Thanks who can help me with this, i need it for if somone losses his password.
And encrypt
To set someone a new password, so i can know the hash
in the command /getpass
And the user files location is RRP/Users
I need it like this :
pawn Код:
if(strcmp(cmd, "/getpass", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 20 && IsPlayerAdmin(playerid))
{
//Here the code
}
}
return 1;
}
And encrypt
pawn Код:
if(strcmp(cmd, "/getdpass", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 20 && IsPlayerAdmin(playerid))
{
//Here the code
}
}
return 1;
}