So sieht das ganze aus
public LoadAccount(playerid,pass[],passwortstate)
{
new query[356],result[25],rows,fields;
if(mysql_errno(MySqlConnection) !== 0)
{
getdate(tag,monat,jahr);
gettime(stunde,minute,sekunde);
ForEachPlayer(i)
{
if(IsPlayerConnected(i) && !IsPlayerNPC(i) && GetPVarInt(i,"Eingeloggt") == 1)
{
SaveAccount(i);
}
}
Log("Restartssqllog","Admin: System hat den Server gerestartet(Dead MySql Connection)!");
OnGameModeSave();
GameModeExit();
return 1;
}
cache_get_data(rows,fields);
Es geht nocht weiter aber da sind andere IF sachen ..
Error Zeile
if(mysql_errno(MySqlConnection) !== 0)
Errors:
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line