HeyHoo,
Ich hab grade mein MySQL gedingse von R5 auf R7 geupdated.
Folgende Errors:
C:\Users\_Zinne\Desktop\Spiele\SAMP Server\gamemodes\ProjektXv0.0.2.pwn(4800) : error 017: undefined symbol "mysql_query"
C:\Users\_Zinne\Desktop\Spiele\SAMP Server\gamemodes\ProjektXv0.0.2.pwn(4812) : error 017: undefined symbol "mysql_query"
C:\Users\_Zinne\Desktop\Spiele\SAMP Server\gamemodes\ProjektXv0.0.2.pwn(4821) : error 017: undefined symbol "mysql_query"
C:\Users\_Zinne\Desktop\Spiele\SAMP Server\gamemodes\ProjektXv0.0.2.pwn(4869) : error 017: undefined symbol "mysql_query"
C:\Users\_Zinne\Desktop\Spiele\SAMP Server\gamemodes\ProjektXv0.0.2.pwn(4871) : error 017: undefined symbol "mysql_fetch_int"
C:\Users\_Zinne\Desktop\Spiele\SAMP Server\gamemodes\ProjektXv0.0.2.pwn(4949) : error 017: undefined symbol "mysql_query"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
Zeile 4800-4821:
mysql_query ( query , -1, -1 );
mysql_store_result();
return mysql_retrieve_row();
}
stock CreateAccount(playerid, pass[])
{
new query[256],Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
mysql_real_escape_string(Name,Name);
mysql_real_escape_string(pass,pass);
format(query, sizeof(query), "INSERT INTO `accounts` (`Name`, `Passwort`) VALUES ('%s', '%s')", Name, pass);
mysql_query(query);
return true;
}
stock mysql_ReturnPasswort(Name[])
{
new query[130], Get[130];
mysql_real_escape_string(Name, Name);
format(query, 128, "SELECT `passwort` FROM `accounts` WHERE `Name` = '%s'", Name);
mysql_query(query);
Zeile 4869-4871:
mysql_query(query);
mysql_store_result();
new sqlint = mysql_fetch_int();
Zeile 4949:
mysql_query(query);
Hat da jemand neue teile?
Ich benutze das von BlueG (G-Stylezz)
lg
Deagle