bekommen diesen error: error 035: argument type mismatch (argument 1)
Die Zeile: dini_Set(save, "passwort", udb_hash(NewPass));
Changepass cmd:
dcmd_changepass(playerid, params[])
{
new save[128];
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name , sizeof(Name));
format(save, sizeof(save), "Spieler/%s.ini", Name);
new OldPass, NewPass;
OldPass = dini_Int(save, "passwort");
if(sscanf(params, "ss", OldPass, NewPass)) return SendClientMessage(playerid, COLOR_GREY, "Benutze: /changepass [Altes Password] [Neues Passwort]");
else if(OldPass == NewPass) return SendClientMessage(playerid, COLOR_WHITE, "FEHLER: Du hast das gleiche Passwort eingeben!");
{
new string[128];
dini_Set(save, "passwort", udb_hash(NewPass)); //error 035: argument type mismatch (argument 1)
format(string, sizeof string, "INFO: Du hast dein Passwort geändert(in %s)!",pInfo[playerid][passwort]);
SCM(playerid,COLOR_GREY, string);
return 1;
}
}