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