/edit:
Hab nun folgende Errors;
C:\Users\Mike\Desktop\samp03dsvr_win32\gamemodes\selfmadeMySQL.pwn(3103) : error 029: invalid expression, assumed zero
C:\Users\Mike\Desktop\samp03dsvr_win32\gamemodes\selfmadeMySQL.pwn(3103) : error 001: expected token: ";", but found ")"
C:\Users\Mike\Desktop\samp03dsvr_win32\gamemodes\selfmadeMySQL.pwn(3103) : error 029: invalid expression, assumed zero
C:\Users\Mike\Desktop\samp03dsvr_win32\gamemodes\selfmadeMySQL.pwn(3103) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Zeilen:
stock LoadPlayer(playerid)
{
if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))//Wir fragen ab ob der angegebene Spieler auch Online ist, und kein NPC ist (nur zur sicherhheit)
{
SetPVarInt(playerid,"Level", = mysql_GetInt("accounts", "Level", "Name", SpielerName(playerid))); //Wir holen uns den wert der unter "Level" eingetragen ist und Speichern ihn in unserer Variable. //Zeile 3103
SetPVarInt(playerid,"Geld", = mysql_GetInt("accounts", "Geld", "Name", SpielerName(playerid))); //Wir holen uns den wert der unter "Geld" eingetragen ist und Speichern ihn in unserer Variable.
SetPVarInt(playerid,"Adminleve", = mysql_GetInt("accounts", "Adminlevel", "Name", SpielerName(playerid)));
SetPVarInt(playerid,"Fraktion", = mysql_GetInt("accounts", "Fraktion", "Name", SpielerName(playerid)));
SetPVarInt(playerid,"Leader", = mysql_GetInt("accounts", "Leader", "Name", SpielerName(playerid)));
SetPVarInt(playerid,"Mitglied", = mysql_GetInt("accounts", "Mitglied", "Name", SpielerName(playerid)));
SetPVarInt(playerid,"FRang", = mysql_GetInt("accounts", "FRang", "Name", SpielerName(playerid)));
SetPVarInt(playerid,"Premium", = mysql_GetInt("accounts", "Premium", "Name", SpielerName(playerid)));
SetPVarInt(playerid,"FLicense", = mysql_GetInt("accounts", "FLicense", "Name", SpielerName(playerid)));
SetPVarInt(playerid,"PremiumPunkte", = mysql_GetInt("accounts", "PremiumPunkte", "Name", SpielerName(playerid)));
SetPVarInt(playerid,"Skin", = mysql_GetInt("accounts", "Skin", "Name", SpielerName(playerid)));
SetPVarInt(playerid,"firstskin", = mysql_GetInt("accounts", "firstskin", "Name", SpielerName(playerid)));
SetPVarInt(playerid,"Banned", = mysql_GetInt("accounts", "Banned", "Name", SpielerName(playerid)));
if(GetPVarInt(playerid,"Banned")==1)
{
SCM(playerid,rot,"Du bist vom Server gebannt!");
Kick(playerid);
}
SetPVarInt(playerid,"loggedin",1);
}
return 1;
}
MFG Stein