12.02.2012, 17:55
Whats wrong with it??
Ah i know, you've put two " instead of 1
Should be
Instead Of
Ah i know, you've put two " instead of 1
Should be
Код:
CMD:changepassword(playerid, params[]) { if(isnull(params)) return SendClientMessage(playerid, -1, "#LIME"<CMD USAGE> "#WHITE"/changepassword <new password>"); accInfo[playerid][Passcode] = udb_hash(params); new INI:accFile = INI_Open(find_accPath(playerid) ); INI_WriteInt(accFile, "Passcode", udb_hash(params) ); INI_Close(accFile); return true; }
Код:
CMD:changepassword(playerid, params[]) { if(isnull(params)) return SendClientMessage(playerid, -1, ""#LIME"<CMD USAGE> "#WHITE"/changepassword <new password>"); accInfo[playerid][Passcode] = udb_hash(params); new INI:accFile = INI_Open(find_accPath(playerid) ); INI_WriteInt(accFile, "Passcode", udb_hash(params) ); INI_Close(accFile); return true; }