Change password
#2

Just like this:

Код:
CMD:changepw(playerid, params[]) {
    if(!params[0]) return SendClientMessage(playerid,-1,"Please enter a password!");
    new INI:File = INI_Open(UserPath(playerid));
    INI_SetTag(File,"data");
    INI_WriteInt(File,"Password",udb_hash(params));
    INI_Close(File);
    return SendClientMessage(playerid,-1,"Password changed successfully!");
}
Greekz
Reply


Messages In This Thread
Change password - by _GHT_MarK445 - 11.03.2015, 15:46
AW: Change password - by Kaliber - 11.03.2015, 15:52
Respuesta: AW: Change password - by JuanStone - 11.03.2015, 16:04
AW: Respuesta: AW: Change password - by Kaliber - 11.03.2015, 16:07
Re: Change password - by _GHT_MarK445 - 11.03.2015, 16:14
AW: Re: Change password - by Kaliber - 11.03.2015, 16:15
Re: Change password - by _GHT_MarK445 - 11.03.2015, 16:18
AW: Change password - by Kaliber - 11.03.2015, 16:23
Respuesta: Change password - by JuanStone - 11.03.2015, 16:31
AW: Respuesta: Change password - by Kaliber - 11.03.2015, 16:33

Forum Jump:


Users browsing this thread: 1 Guest(s)