Guten Tag,
Ich habe Probleme mit meiner MD5_Hash verschlüsselung.
D:\----\*****.pwn(19394) : error 017: undefined symbol "MD5_Hash"
//Dies ist nur ein teil vom OnplayerRegister public.
public OnPlayerRegister(playerid, password[])
{
StuffInfo[sNeuUser] += 1;
if(IsPlayerConnected(playerid))
{
new string[128],
playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
format(string, sizeof(string), "%s", password);
strmid(PlayerInfo[playerid][pKey], MD5_Hash(string), 0, strlen(string), 255); // Hier is der Fehler...
// strmid(PlayerInfo[playerid][pKey], string, 0, strlen(string), 255);
//PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash];
//#if defined MySQLSpeicherung
format(string, sizeof(string), "INSERT INTO `users` (`Name`, `Key`) VALUES ('%s', '%s')", playername, PlayerInfo[playerid][pKey]);
self_mysql_query(string);
format(string, sizeof(string), "UPDATE `users` SET `RegisterDatum`='%d' WHERE `Name`='%s'", Time(), playername);
self_mysql_query(string);
PlayerUpdate(playerid);
Grüße,