11.03.2015, 15:52
Just like this:
Greekz
Код:
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!"); }