Change password Cmd
#6

If you save the data OnPlayerDisconnect:
PHP код:
CMD:changepassword(playeridparams[])
{
    new 
pass[128], hashpass[129];
    if(
sscanf(params,"s[128]",pass)) return SendClientMessage(playerid, -1"Usage: /changepassword [Password]");
        
WP_Hash(hashpasssizeof(hashpass), pass);
    
PlayerInfo[playerid][Password] = hashpass;
    return 
1;

Edited.
Reply


Messages In This Thread
Change password Cmd - by anassmaroc - 26.09.2015, 13:19
Re: Change password Cmd - by TonyVk - 26.09.2015, 13:23
Re : Change password Cmd - by anassmaroc - 26.09.2015, 13:25
Re: Re : Change password Cmd - by jlalt - 26.09.2015, 13:50
Re : Re: Re : Change password Cmd - by anassmaroc - 26.09.2015, 15:25
Re: Change password Cmd - by nezo2001 - 26.09.2015, 15:25
Re : Re: Change password Cmd - by anassmaroc - 26.09.2015, 15:34
Re: Change password Cmd - by jlalt - 26.09.2015, 15:41
Re : Change password Cmd - by anassmaroc - 26.09.2015, 15:49
Re: Change password Cmd - by jlalt - 26.09.2015, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)