error codes :c

In 10 Minuten startet der nächtliche Backupvorgang! Es kann währenddessen (ca. 10 Minuten) zu Einschränkungen bei der Nutzung des Forums kommen
Weitere Infos findet ihr im Thema Backup des Forums
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • hey ich habe gerade ein mysql script auf mein pc gefunden und habe das mysql system in ein editiertes GF rein gesetzt jetz habe ich 24 errors :c




    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(6496) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(6496) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(6496) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(6496) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19945) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19945) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(24507) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(24508) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(24508) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(24507) : warning 204: symbol is assigned a value that is never used: "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(25496) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(25497) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(25497) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(25498) : error 035: argument type mismatch (argument 1)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(25496) : warning 204: symbol is assigned a value that is never used: "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(25496 -- 25521) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(25522) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(25522) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(25523) : error 035: argument type mismatch (argument 1)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(25521) : warning 204: symbol is assigned a value that is never used: "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(37206) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(37207) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(37207) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(37208) : error 035: argument type mismatch (argument 1)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(37206) : warning 204: symbol is assigned a value that is never used: "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(37206 -- 37255) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(37256) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(37256) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(37257) : error 035: argument type mismatch (argument 1)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(37255) : warning 204: symbol is assigned a value that is never used: "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(39828) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(39829) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(39829) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(39830) : error 035: argument type mismatch (argument 1)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(39828) : warning 204: symbol is assigned a value that is never used: "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(41225) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(41230) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(41230) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(41225) : warning 204: symbol is assigned a value that is never used: "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(57900) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(57905) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(57905) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(57900) : warning 204: symbol is assigned a value that is never used: "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(60133) : warning 219: local variable "sendername" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(61802) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(61802) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(61802) : error 035: argument type mismatch (argument 1)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(65100) : warning 219: local variable "pName" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(65101) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(65101) : error 035: argument type mismatch (argument 2)
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(65100) : warning 204: symbol is assigned a value that is never used: "pName"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase




    24 Errors.

  • Guten morgen,


    pName ist zwei mal definiert.
    "local variable "pName" shadows a variable at a preceding level"

    wenn ich pName raus haue dann kriege ich 26 errors :c



    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(6496) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(6496) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(6496) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(6496) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19817) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19818) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19819) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19820) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19821) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19822) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19823) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19824) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19825) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19826) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19827) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19828) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19829) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19830) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19831) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19832) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19833) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19834) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19835) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19836) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19837) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19838) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19839) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19840) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19841) : error 017: undefined symbol "pName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19842) : error 017: undefined symbol "pName"



    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase




    26 Errors.


    das definierte das ich rausgemacht habe sieht so aus pName[MAX_PLAYER_NAME],

  • Es reicht erst mal wenn du Zeile 6496 und 19817 postest, um zu sehen was genau das Problem ist.

    ZEILE 6496 :
    format(stringa, sizeof(stringa), "||>>|| Hitman %s hat %s gekillt. Und bekam die %d$ ||<<||",GetPlayerName(killerid),GetPlayerName(playerid),PlayerInfo[playerid][pContract]);


    ZEILE 19817:
    {


    GANZE STOCK VON 19817 :



    stock OnPlayerLogin(playerid)
    {
    new tmp2[256];
    new string2[128];
    new playername2[MAX_PLAYER_NAME];
    if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
    {
    {
    GetPlayerName(playerid, PlayerInfo[playerid][pName], MAX_PLAYER_NAME);
    PlayerInfo[playerid][pLevel] = mysql_GetInt("accounts","Level", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pAdmin] = mysql_GetInt("accounts","AdminLevel","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pSupporter] = mysql_GetInt("accounts","Supporter", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pVIP] = mysql_GetInt("accounts","DonateRank", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][gPupgrade] = mysql_GetInt("accounts","UpgradePoints", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pConnectTime] = mysql_GetInt("accounts","ConnectedTime", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pReg] = mysql_GetInt("accounts","Registered", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pSex] = mysql_GetInt("accounts","Sex", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pAge] = mysql_GetInt("accounts","Alter", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pOrigin] = mysql_GetInt("accounts","Origin", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pCK] = mysql_GetInt("accounts","CK", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMuted] = mysql_GetInt("accounts","Muted", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pExp] = mysql_GetInt("accounts","Respekt", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pCash] = mysql_GetInt("accounts","Geld", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pAccount] = mysql_GetInt("accounts","Bank", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPlayerKredit] = mysql_GetInt("accounts","Kredit", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPlayerKreditDauer] = mysql_GetInt("accounts","KreditDauer", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pCrimes] = mysql_GetInt("accounts","Verbrechen", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pKills] = mysql_GetInt("accounts","Kills", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pDeaths] = mysql_GetInt("accounts","Deaths", "Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pWantedDeaths] = mysql_GetInt("accounts","WantedDeaths","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPhoneBook] = mysql_GetInt("accounts","Telefonbuch","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pLottoNr] = mysql_GetInt("accounts","LottoNr","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pFishes] = mysql_GetInt("accounts","Fische","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pBiggestFish] = mysql_GetInt("accounts","BiggestFish","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pJob] = mysql_GetInt("accounts","Job","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPayCheck] = mysql_GetInt("accounts","PayCheck","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pJailed] = mysql_GetInt("accounts","Jailed","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pGangJailed] = mysql_GetInt("accounts","GangJailed","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMauled] = mysql_GetInt("accounts","Mauled","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pJailTime] = mysql_GetInt("accounts","JailTime","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMats] = mysql_GetInt("accounts","Material","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pDrugs] = mysql_GetInt("accounts","Drogen","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pBoxMats] = mysql_GetInt("accounts","BMaterial","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pBoxDrugs] = mysql_GetInt("accounts","BDrogen","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pLeader] = mysql_GetInt("accounts","Leader","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMember] = mysql_GetInt("accounts","Member","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pFMember] = mysql_GetInt("accounts","FMember","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pRank] = mysql_GetInt("accounts","Rank","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pChar] = mysql_GetInt("accounts","Char","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pContractTime] = mysql_GetInt("accounts","ContractTime","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pContract] = mysql_GetInt("accounts","Contract","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pDetSkill] = mysql_GetInt("accounts","DetSkill","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pLawSkill] = mysql_GetInt("accounts","LawSkill","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPilotSkill] = mysql_GetInt("accounts","PilotSkill","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pBusSkill] = mysql_GetInt("accounts","BusSkill","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMechSkill] = mysql_GetInt("accounts","MechSkill","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pJackSkill] = mysql_GetInt("accounts","JackSkill","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pCarSkill] = mysql_GetInt("accounts","CarSkill","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pDrugsSkill] = mysql_GetInt("accounts","DrugsSkill","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pCookSkill] = mysql_GetInt("accounts","CookSkill","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pSHealth] = mysql_GetFloat("accounts","SHealth","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pHealth] = mysql_GetFloat("accounts","Health","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pInt] = mysql_GetInt("accounts","Interior","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pLocal] = mysql_GetInt("accounts","Local","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pTeam] = mysql_GetInt("accounts","Team","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pModel] = mysql_GetInt("accounts","Model","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPnumber] = mysql_GetInt("accounts","pPNumber","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPhousekey] = mysql_GetInt("accounts","House","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPbiskey] = mysql_GetInt("accounts","Bizz","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pHandyGeld] = mysql_GetInt("accounts","HandyGeld","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pHandyVer] = mysql_GetInt("accounts","HandyVer","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPos_x] = mysql_GetFloat("accounts","pPos_x","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPos_y] = mysql_GetFloat("accounts","pPos_x","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPos_z] = mysql_GetFloat("accounts","pPos_x","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pCarLic] = mysql_GetInt("accounts","CarLic","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pNewLic] = mysql_GetInt("accounts","NewLic","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pFlyLic] = mysql_GetInt("accounts","FlyLic","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pBoatLic] = mysql_GetInt("accounts","BoatLic","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pFishLic] = mysql_GetInt("accounts","FishLic","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pGunLic] = mysql_GetInt("accounts","GunLic","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pLKWLic] = mysql_GetInt("accounts","LKWLic","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pRollerLic] = mysql_GetInt("accounts","RollerLic","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMotoLic] = mysql_GetInt("accounts","MotoLic","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pZig] = mysql_GetInt("accounts","Zig","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pKekse] = mysql_GetInt("accounts","Kekse","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pZigSucht] = mysql_GetInt("accounts","ZigSucht","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pCarTime] = mysql_GetInt("accounts","CarTime","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMulltime] = mysql_GetInt("accounts","MullTime","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPayDay] = mysql_GetInt("accounts","PayDay","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPayDayHad] = mysql_GetInt("accounts","PayDayHad","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pCDPlayer] = mysql_GetInt("accounts","CDPlayer","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pWins] = mysql_GetInt("accounts","Wins","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pLoses] = mysql_GetInt("accounts","Loses","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pAlcoholPerk] = mysql_GetInt("accounts","AlcoholPerk","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pDrugPerk] = mysql_GetInt("accounts","DrugPerk","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMiserPerk] = mysql_GetInt("accounts","MiserPerk","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMiserPerk] = mysql_GetInt("accounts","PainPerk","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pTraderPerk] = mysql_GetInt("accounts","TraderPerk","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pTut] = mysql_GetInt("accounts","Tutorial","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pWarns] = mysql_GetInt("accounts","Warns","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pAdjustable] = mysql_GetInt("accounts","Adjustable","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pFuel] = mysql_GetInt("accounts","Fuel","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMarried] = mysql_GetInt("accounts","Married","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMarriedTo] = mysql_GetInt("accounts","MarriedTo","Name",PlayerInfo[playerid][pName]);
    SpawnChange[playerid] = mysql_GetInt("accounts","SpawnChange","Name",PlayerInfo[playerid][pName]);
    WantedLevel[playerid] = mysql_GetInt("accounts","WantedLevel","Name",PlayerInfo[playerid][pName]);
    WantedPoints[playerid] = mysql_GetInt("accounts","WantedPoints","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPlayMinutes] = mysql_GetInt("accounts","PlayMinutes","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pGesamtMinutes] = mysql_GetInt("accounts","GesamtMinutes","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMinutesSinceAn] = mysql_GetInt("accounts","MinutesSinceAn","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pSFPASS] = mysql_GetInt("accounts","SFPass","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pLVPASS] = mysql_GetInt("accounts","LVPASS","Name",PlayerInfo[playerid][pName]);
    OfflineFlucht[playerid] = mysql_GetInt("accounts","OffFlucht","Name",PlayerInfo[playerid][pName]);
    Knast[playerid] = mysql_GetInt("accounts","Knast","Name",PlayerInfo[playerid][pName]);
    KnastTime[playerid] = mysql_GetInt("accounts","KnastTime","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pHandyID] = mysql_GetInt("accounts","Handy","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pUhrID] = mysql_GetInt("accounts","Uhr","Name",PlayerInfo[playerid][pName]);
    KnastTime[playerid] = mysql_GetInt("accounts","KnastTime","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pOwnPerso] = mysql_GetInt("accounts","Perso","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pFrakSperre] = mysql_GetInt("accounts","FrakSperre","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pGehalt] = mysql_GetInt("accounts","Gehalt","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pInvWeapon] = mysql_GetInt("accounts","InvWeapon","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pInvAmmo] = mysql_GetInt("accounts","InvAmmo","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pInvWeapon2] = mysql_GetInt("accounts","InvWeapon2","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pInvAmmo2] = mysql_GetInt("accounts","InvAmmo2","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pInvMats] = mysql_GetInt("accounts","InvMats","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pInvDrugs] = mysql_GetInt("accounts","InvDrugs","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pGDeaths] = mysql_GetInt("accounts","gDeaths","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pGKills] = mysql_GetInt("accounts","gKills","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMeldung] = mysql_GetInt("accounts","Meldung","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPtankekey] = mysql_GetInt("accounts","Tanke","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pZollPass] = mysql_GetInt("accounts","Zollpass","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pZollPassTime] = mysql_GetInt("accounts","Zollpasstime","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pPaket] = mysql_GetInt("accounts","Paket","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pGesperrt] = mysql_GetInt("accounts","Banned","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pLPunkte] = mysql_GetInt("accounts","LPunkte","Name",PlayerInfo[playerid][pName]);
    printf("Spielerdaten vom Spieler %s erfolgreich aus der Datenbank geladen",GetPlayerName(playerid));



    }

  • Beitrag von German_ScripterHD ()

    Dieser Beitrag wurde vom Autor aus folgendem Grund gelöscht: Nicht nachgedacht... ().
  • format(stringa, sizeof(stringa), "||>>|| Hitman %s hat %s gekillt. Und bekam die %d$ ||<<||",GetPlayerName(killerid),GetPlayerName(playerid),PlayerInfo[playerid][pContract]);
    zu:
    new kname[MAX_PLAYER_NAME], pname[MAX_PLAYER_NAME];
    GetPlayerName(killerid,kname,MAX_PLAYER_NAME);
    GetPlayerName(playerid,pname,MAX_PLAYER_NAME);
    format(stringa, sizeof(stringa), "||>>|| Hitman %s hat %s gekillt. Und bekam die %d$ ||<<||",kname, pname, PlayerInfo[playerid][pContract]);


    Und den anderen Code zu:
    stock OnPlayerLogin(playerid)
    {
    new tmp2[256];
    new string2[128];
    new playername2[MAX_PLAYER_NAME];
    if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
    {
    GetPlayerName(playerid, playername2, MAX_PLAYER_NAME);
    PlayerInfo[playerid][pLevel] = mysql_GetInt("accounts","Level", "Name",playername2);
    PlayerInfo[playerid][pAdmin] = mysql_GetInt("accounts","AdminLevel","Name",playername2);
    PlayerInfo[playerid][pSupporter] = mysql_GetInt("accounts","Supporter", "Name",playername2);
    PlayerInfo[playerid][pVIP] = mysql_GetInt("accounts","DonateRank", "Name",playername2);
    PlayerInfo[playerid][gPupgrade] = mysql_GetInt("accounts","UpgradePoints", "Name",playername2);
    PlayerInfo[playerid][pConnectTime] = mysql_GetInt("accounts","ConnectedTime", "Name",playername2);
    PlayerInfo[playerid][pReg] = mysql_GetInt("accounts","Registered", "Name",playername2);
    PlayerInfo[playerid][pSex] = mysql_GetInt("accounts","Sex", "Name",playername2);
    PlayerInfo[playerid][pAge] = mysql_GetInt("accounts","Alter", "Name",playername2);
    PlayerInfo[playerid][pOrigin] = mysql_GetInt("accounts","Origin", "Name",playername2);
    PlayerInfo[playerid][pCK] = mysql_GetInt("accounts","CK", "Name",playername2);
    PlayerInfo[playerid][pMuted] = mysql_GetInt("accounts","Muted", "Name",playername2);
    PlayerInfo[playerid][pExp] = mysql_GetInt("accounts","Respekt", "Name",playername2);
    PlayerInfo[playerid][pCash] = mysql_GetInt("accounts","Geld", "Name",playername2);
    PlayerInfo[playerid][pAccount] = mysql_GetInt("accounts","Bank", "Name",playername2);
    PlayerInfo[playerid][pPlayerKredit] = mysql_GetInt("accounts","Kredit", "Name",playername2);
    PlayerInfo[playerid][pPlayerKreditDauer] = mysql_GetInt("accounts","KreditDauer", "Name",playername2);
    PlayerInfo[playerid][pCrimes] = mysql_GetInt("accounts","Verbrechen", "Name",playername2);
    PlayerInfo[playerid][pKills] = mysql_GetInt("accounts","Kills", "Name",playername2);
    PlayerInfo[playerid][pDeaths] = mysql_GetInt("accounts","Deaths", "Name",playername2);
    PlayerInfo[playerid][pWantedDeaths] = mysql_GetInt("accounts","WantedDeaths","Name",playername2);
    PlayerInfo[playerid][pPhoneBook] = mysql_GetInt("accounts","Telefonbuch","Name",playername2);
    PlayerInfo[playerid][pLottoNr] = mysql_GetInt("accounts","LottoNr","Name",playername2);
    PlayerInfo[playerid][pFishes] = mysql_GetInt("accounts","Fische","Name",playername2);
    PlayerInfo[playerid][pBiggestFish] = mysql_GetInt("accounts","BiggestFish","Name",playername2);
    PlayerInfo[playerid][pJob] = mysql_GetInt("accounts","Job","Name",playername2);
    PlayerInfo[playerid][pPayCheck] = mysql_GetInt("accounts","PayCheck","Name",playername2);
    PlayerInfo[playerid][pJailed] = mysql_GetInt("accounts","Jailed","Name",playername2);
    PlayerInfo[playerid][pGangJailed] = mysql_GetInt("accounts","GangJailed","Name",playername2);
    PlayerInfo[playerid][pMauled] = mysql_GetInt("accounts","Mauled","Name",playername2);
    PlayerInfo[playerid][pJailTime] = mysql_GetInt("accounts","JailTime","Name",playername2);
    PlayerInfo[playerid][pMats] = mysql_GetInt("accounts","Material","Name",playername2);
    PlayerInfo[playerid][pDrugs] = mysql_GetInt("accounts","Drogen","Name",playername2);
    PlayerInfo[playerid][pBoxMats] = mysql_GetInt("accounts","BMaterial","Name",playername2);
    PlayerInfo[playerid][pBoxDrugs] = mysql_GetInt("accounts","BDrogen","Name",playername2);
    PlayerInfo[playerid][pLeader] = mysql_GetInt("accounts","Leader","Name",playername2);
    PlayerInfo[playerid][pMember] = mysql_GetInt("accounts","Member","Name",playername2);
    PlayerInfo[playerid][pFMember] = mysql_GetInt("accounts","FMember","Name",playername2);
    PlayerInfo[playerid][pRank] = mysql_GetInt("accounts","Rank","Name",playername2);
    PlayerInfo[playerid][pChar] = mysql_GetInt("accounts","Char","Name",playername2);
    PlayerInfo[playerid][pContractTime] = mysql_GetInt("accounts","ContractTime","Name",playername2);
    PlayerInfo[playerid][pContract] = mysql_GetInt("accounts","Contract","Name",playername2);
    PlayerInfo[playerid][pDetSkill] = mysql_GetInt("accounts","DetSkill","Name",playername2);
    PlayerInfo[playerid][pLawSkill] = mysql_GetInt("accounts","LawSkill","Name",playername2);
    PlayerInfo[playerid][pPilotSkill] = mysql_GetInt("accounts","PilotSkill","Name",playername2);
    PlayerInfo[playerid][pBusSkill] = mysql_GetInt("accounts","BusSkill","Name",playername2);
    PlayerInfo[playerid][pMechSkill] = mysql_GetInt("accounts","MechSkill","Name",playername2);
    PlayerInfo[playerid][pJackSkill] = mysql_GetInt("accounts","JackSkill","Name",playername2);
    PlayerInfo[playerid][pCarSkill] = mysql_GetInt("accounts","CarSkill","Name",playername2);
    PlayerInfo[playerid][pDrugsSkill] = mysql_GetInt("accounts","DrugsSkill","Name",playername2);
    PlayerInfo[playerid][pCookSkill] = mysql_GetInt("accounts","CookSkill","Name",playername2);
    PlayerInfo[playerid][pSHealth] = mysql_GetFloat("accounts","SHealth","Name",playername2);
    PlayerInfo[playerid][pHealth] = mysql_GetFloat("accounts","Health","Name",playername2);
    PlayerInfo[playerid][pInt] = mysql_GetInt("accounts","Interior","Name",playername2);
    PlayerInfo[playerid][pLocal] = mysql_GetInt("accounts","Local","Name",playername2);
    PlayerInfo[playerid][pTeam] = mysql_GetInt("accounts","Team","Name",playername2);
    PlayerInfo[playerid][pModel] = mysql_GetInt("accounts","Model","Name",playername2);
    PlayerInfo[playerid][pPnumber] = mysql_GetInt("accounts","pPNumber","Name",playername2);
    PlayerInfo[playerid][pPhousekey] = mysql_GetInt("accounts","House","Name",playername2);
    PlayerInfo[playerid][pPbiskey] = mysql_GetInt("accounts","Bizz","Name",playername2);
    PlayerInfo[playerid][pHandyGeld] = mysql_GetInt("accounts","HandyGeld","Name",playername2);
    PlayerInfo[playerid][pHandyVer] = mysql_GetInt("accounts","HandyVer","Name",playername2);
    PlayerInfo[playerid][pPos_x] = mysql_GetFloat("accounts","pPos_x","Name",playername2);
    PlayerInfo[playerid][pPos_y] = mysql_GetFloat("accounts","pPos_x","Name",playername2);
    PlayerInfo[playerid][pPos_z] = mysql_GetFloat("accounts","pPos_x","Name",playername2);
    PlayerInfo[playerid][pCarLic] = mysql_GetInt("accounts","CarLic","Name",playername2);
    PlayerInfo[playerid][pNewLic] = mysql_GetInt("accounts","NewLic","Name",playername2);
    PlayerInfo[playerid][pFlyLic] = mysql_GetInt("accounts","FlyLic","Name",playername2);
    PlayerInfo[playerid][pBoatLic] = mysql_GetInt("accounts","BoatLic","Name",playername2);
    PlayerInfo[playerid][pFishLic] = mysql_GetInt("accounts","FishLic","Name",playername2);
    PlayerInfo[playerid][pGunLic] = mysql_GetInt("accounts","GunLic","Name",playername2);
    PlayerInfo[playerid][pLKWLic] = mysql_GetInt("accounts","LKWLic","Name",playername2);
    PlayerInfo[playerid][pRollerLic] = mysql_GetInt("accounts","RollerLic","Name",playername2);
    PlayerInfo[playerid][pMotoLic] = mysql_GetInt("accounts","MotoLic","Name",playername2);
    PlayerInfo[playerid][pZig] = mysql_GetInt("accounts","Zig","Name",playername2);
    PlayerInfo[playerid][pKekse] = mysql_GetInt("accounts","Kekse","Name",playername2);
    PlayerInfo[playerid][pZigSucht] = mysql_GetInt("accounts","ZigSucht","Name",playername2);
    PlayerInfo[playerid][pCarTime] = mysql_GetInt("accounts","CarTime","Name",playername2);
    PlayerInfo[playerid][pMulltime] = mysql_GetInt("accounts","MullTime","Name",playername2);
    PlayerInfo[playerid][pPayDay] = mysql_GetInt("accounts","PayDay","Name",playername2);
    PlayerInfo[playerid][pPayDayHad] = mysql_GetInt("accounts","PayDayHad","Name",playername2);
    PlayerInfo[playerid][pCDPlayer] = mysql_GetInt("accounts","CDPlayer","Name",playername2);
    PlayerInfo[playerid][pWins] = mysql_GetInt("accounts","Wins","Name",playername2);
    PlayerInfo[playerid][pLoses] = mysql_GetInt("accounts","Loses","Name",playername2);
    PlayerInfo[playerid][pAlcoholPerk] = mysql_GetInt("accounts","AlcoholPerk","Name",playername2);
    PlayerInfo[playerid][pDrugPerk] = mysql_GetInt("accounts","DrugPerk","Name",playername2);
    PlayerInfo[playerid][pMiserPerk] = mysql_GetInt("accounts","MiserPerk","Name",playername2);
    PlayerInfo[playerid][pMiserPerk] = mysql_GetInt("accounts","PainPerk","Name",playername2);
    PlayerInfo[playerid][pTraderPerk] = mysql_GetInt("accounts","TraderPerk","Name",playername2);
    PlayerInfo[playerid][pTut] = mysql_GetInt("accounts","Tutorial","Name",playername2);
    PlayerInfo[playerid][pWarns] = mysql_GetInt("accounts","Warns","Name",playername2);
    PlayerInfo[playerid][pAdjustable] = mysql_GetInt("accounts","Adjustable","Name",playername2);
    PlayerInfo[playerid][pFuel] = mysql_GetInt("accounts","Fuel","Name",playername2);
    PlayerInfo[playerid][pMarried] = mysql_GetInt("accounts","Married","Name",playername2);
    PlayerInfo[playerid][pMarriedTo] = mysql_GetInt("accounts","MarriedTo","Name",playername2);
    SpawnChange[playerid] = mysql_GetInt("accounts","SpawnChange","Name",playername2);
    WantedLevel[playerid] = mysql_GetInt("accounts","WantedLevel","Name",playername2);
    WantedPoints[playerid] = mysql_GetInt("accounts","WantedPoints","Name",playername2);
    PlayerInfo[playerid][pPlayMinutes] = mysql_GetInt("accounts","PlayMinutes","Name",playername2);
    PlayerInfo[playerid][pGesamtMinutes] = mysql_GetInt("accounts","GesamtMinutes","Name",playername2);
    PlayerInfo[playerid][pMinutesSinceAn] = mysql_GetInt("accounts","MinutesSinceAn","Name",playername2);
    PlayerInfo[playerid][pSFPASS] = mysql_GetInt("accounts","SFPass","Name",playername2);
    PlayerInfo[playerid][pLVPASS] = mysql_GetInt("accounts","LVPASS","Name",playername2);
    OfflineFlucht[playerid] = mysql_GetInt("accounts","OffFlucht","Name",playername2);
    Knast[playerid] = mysql_GetInt("accounts","Knast","Name",playername2);
    KnastTime[playerid] = mysql_GetInt("accounts","KnastTime","Name",playername2);
    PlayerInfo[playerid][pHandyID] = mysql_GetInt("accounts","Handy","Name",playername2);
    PlayerInfo[playerid][pUhrID] = mysql_GetInt("accounts","Uhr","Name",playername2);
    KnastTime[playerid] = mysql_GetInt("accounts","KnastTime","Name",playername2);
    PlayerInfo[playerid][pOwnPerso] = mysql_GetInt("accounts","Perso","Name",playername2);
    PlayerInfo[playerid][pFrakSperre] = mysql_GetInt("accounts","FrakSperre","Name",playername2);
    PlayerInfo[playerid][pGehalt] = mysql_GetInt("accounts","Gehalt","Name",playername2);
    PlayerInfo[playerid][pInvWeapon] = mysql_GetInt("accounts","InvWeapon","Name",playername2);
    PlayerInfo[playerid][pInvAmmo] = mysql_GetInt("accounts","InvAmmo","Name",playername2);
    PlayerInfo[playerid][pInvWeapon2] = mysql_GetInt("accounts","InvWeapon2","Name",playername2);
    PlayerInfo[playerid][pInvAmmo2] = mysql_GetInt("accounts","InvAmmo2","Name",playername2);
    PlayerInfo[playerid][pInvMats] = mysql_GetInt("accounts","InvMats","Name",playername2);
    PlayerInfo[playerid][pInvDrugs] = mysql_GetInt("accounts","InvDrugs","Name",playername2);
    PlayerInfo[playerid][pGDeaths] = mysql_GetInt("accounts","gDeaths","Name",playername2);
    PlayerInfo[playerid][pGKills] = mysql_GetInt("accounts","gKills","Name",playername2);
    PlayerInfo[playerid][pMeldung] = mysql_GetInt("accounts","Meldung","Name",playername2);
    PlayerInfo[playerid][pPtankekey] = mysql_GetInt("accounts","Tanke","Name",playername2);
    PlayerInfo[playerid][pZollPass] = mysql_GetInt("accounts","Zollpass","Name",playername2);
    PlayerInfo[playerid][pZollPassTime] = mysql_GetInt("accounts","Zollpasstime","Name",playername2);
    PlayerInfo[playerid][pPaket] = mysql_GetInt("accounts","Paket","Name",playername2);
    PlayerInfo[playerid][pGesperrt] = mysql_GetInt("accounts","Banned","Name",playername2);
    PlayerInfo[playerid][pLPunkte] = mysql_GetInt("accounts","LPunkte","Name",playername2);
    printf("Spielerdaten vom Spieler %s erfolgreich aus der Datenbank geladen",GetPlayerName(playerid));
    }

  • format(stringa, sizeof(stringa), "||>>|| Hitman %s hat %s gekillt. Und bekam die %d$ ||<<||",GetPlayerName(killerid),GetPlayerName(playerid),PlayerInfo[playerid][pContract]);
    zu:
    new kname[MAX_PLAYER_NAME], pname[MAX_PLAYER_NAME];GetPlayerName(killerid,kname,MAX_PLAYER_NAME);GetPlayerName(playerid,pname,MAX_PLAYER_NAME);format(stringa, sizeof(stringa), "||>>|| Hitman %s hat %s gekillt. Und bekam die %d$ ||<<||",kname, pname, PlayerInfo[playerid][pContract]);


    Und den anderen Code zu:
    stock OnPlayerLogin(playerid){ new tmp2[256]; new string2[128]; new playername2[MAX_PLAYER_NAME]; if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid)) { GetPlayerName(playerid, playername2, MAX_PLAYER_NAME); PlayerInfo[playerid][pLevel] = mysql_GetInt("accounts","Level", "Name",playername2); PlayerInfo[playerid][pAdmin] = mysql_GetInt("accounts","AdminLevel","Name",playername2); PlayerInfo[playerid][pSupporter] = mysql_GetInt("accounts","Supporter", "Name",playername2); PlayerInfo[playerid][pVIP] = mysql_GetInt("accounts","DonateRank", "Name",playername2); PlayerInfo[playerid][gPupgrade] = mysql_GetInt("accounts","UpgradePoints", "Name",playername2); PlayerInfo[playerid][pConnectTime] = mysql_GetInt("accounts","ConnectedTime", "Name",playername2); PlayerInfo[playerid][pReg] = mysql_GetInt("accounts","Registered", "Name",playername2); PlayerInfo[playerid][pSex] = mysql_GetInt("accounts","Sex", "Name",playername2); PlayerInfo[playerid][pAge] = mysql_GetInt("accounts","Alter", "Name",playername2); PlayerInfo[playerid][pOrigin] = mysql_GetInt("accounts","Origin", "Name",playername2); PlayerInfo[playerid][pCK] = mysql_GetInt("accounts","CK", "Name",playername2); PlayerInfo[playerid][pMuted] = mysql_GetInt("accounts","Muted", "Name",playername2); PlayerInfo[playerid][pExp] = mysql_GetInt("accounts","Respekt", "Name",playername2); PlayerInfo[playerid][pCash] = mysql_GetInt("accounts","Geld", "Name",playername2); PlayerInfo[playerid][pAccount] = mysql_GetInt("accounts","Bank", "Name",playername2); PlayerInfo[playerid][pPlayerKredit] = mysql_GetInt("accounts","Kredit", "Name",playername2); PlayerInfo[playerid][pPlayerKreditDauer] = mysql_GetInt("accounts","KreditDauer", "Name",playername2); PlayerInfo[playerid][pCrimes] = mysql_GetInt("accounts","Verbrechen", "Name",playername2); PlayerInfo[playerid][pKills] = mysql_GetInt("accounts","Kills", "Name",playername2); PlayerInfo[playerid][pDeaths] = mysql_GetInt("accounts","Deaths", "Name",playername2); PlayerInfo[playerid][pWantedDeaths] = mysql_GetInt("accounts","WantedDeaths","Name",playername2); PlayerInfo[playerid][pPhoneBook] = mysql_GetInt("accounts","Telefonbuch","Name",playername2); PlayerInfo[playerid][pLottoNr] = mysql_GetInt("accounts","LottoNr","Name",playername2); PlayerInfo[playerid][pFishes] = mysql_GetInt("accounts","Fische","Name",playername2); PlayerInfo[playerid][pBiggestFish] = mysql_GetInt("accounts","BiggestFish","Name",playername2); PlayerInfo[playerid][pJob] = mysql_GetInt("accounts","Job","Name",playername2); PlayerInfo[playerid][pPayCheck] = mysql_GetInt("accounts","PayCheck","Name",playername2); PlayerInfo[playerid][pJailed] = mysql_GetInt("accounts","Jailed","Name",playername2); PlayerInfo[playerid][pGangJailed] = mysql_GetInt("accounts","GangJailed","Name",playername2); PlayerInfo[playerid][pMauled] = mysql_GetInt("accounts","Mauled","Name",playername2); PlayerInfo[playerid][pJailTime] = mysql_GetInt("accounts","JailTime","Name",playername2); PlayerInfo[playerid][pMats] = mysql_GetInt("accounts","Material","Name",playername2); PlayerInfo[playerid][pDrugs] = mysql_GetInt("accounts","Drogen","Name",playername2); PlayerInfo[playerid][pBoxMats] = mysql_GetInt("accounts","BMaterial","Name",playername2); PlayerInfo[playerid][pBoxDrugs] = mysql_GetInt("accounts","BDrogen","Name",playername2); PlayerInfo[playerid][pLeader] = mysql_GetInt("accounts","Leader","Name",playername2); PlayerInfo[playerid][pMember] = mysql_GetInt("accounts","Member","Name",playername2); PlayerInfo[playerid][pFMember] = mysql_GetInt("accounts","FMember","Name",playername2); PlayerInfo[playerid][pRank] = mysql_GetInt("accounts","Rank","Name",playername2); PlayerInfo[playerid][pChar] = mysql_GetInt("accounts","Char","Name",playername2); PlayerInfo[playerid][pContractTime] = mysql_GetInt("accounts","ContractTime","Name",playername2); PlayerInfo[playerid][pContract] = mysql_GetInt("accounts","Contract","Name",playername2); PlayerInfo[playerid][pDetSkill] = mysql_GetInt("accounts","DetSkill","Name",playername2); PlayerInfo[playerid][pLawSkill] = mysql_GetInt("accounts","LawSkill","Name",playername2); PlayerInfo[playerid][pPilotSkill] = mysql_GetInt("accounts","PilotSkill","Name",playername2); PlayerInfo[playerid][pBusSkill] = mysql_GetInt("accounts","BusSkill","Name",playername2); PlayerInfo[playerid][pMechSkill] = mysql_GetInt("accounts","MechSkill","Name",playername2); PlayerInfo[playerid][pJackSkill] = mysql_GetInt("accounts","JackSkill","Name",playername2); PlayerInfo[playerid][pCarSkill] = mysql_GetInt("accounts","CarSkill","Name",playername2); PlayerInfo[playerid][pDrugsSkill] = mysql_GetInt("accounts","DrugsSkill","Name",playername2); PlayerInfo[playerid][pCookSkill] = mysql_GetInt("accounts","CookSkill","Name",playername2); PlayerInfo[playerid][pSHealth] = mysql_GetFloat("accounts","SHealth","Name",playername2); PlayerInfo[playerid][pHealth] = mysql_GetFloat("accounts","Health","Name",playername2); PlayerInfo[playerid][pInt] = mysql_GetInt("accounts","Interior","Name",playername2); PlayerInfo[playerid][pLocal] = mysql_GetInt("accounts","Local","Name",playername2); PlayerInfo[playerid][pTeam] = mysql_GetInt("accounts","Team","Name",playername2); PlayerInfo[playerid][pModel] = mysql_GetInt("accounts","Model","Name",playername2); PlayerInfo[playerid][pPnumber] = mysql_GetInt("accounts","pPNumber","Name",playername2); PlayerInfo[playerid][pPhousekey] = mysql_GetInt("accounts","House","Name",playername2); PlayerInfo[playerid][pPbiskey] = mysql_GetInt("accounts","Bizz","Name",playername2); PlayerInfo[playerid][pHandyGeld] = mysql_GetInt("accounts","HandyGeld","Name",playername2); PlayerInfo[playerid][pHandyVer] = mysql_GetInt("accounts","HandyVer","Name",playername2); PlayerInfo[playerid][pPos_x] = mysql_GetFloat("accounts","pPos_x","Name",playername2); PlayerInfo[playerid][pPos_y] = mysql_GetFloat("accounts","pPos_x","Name",playername2); PlayerInfo[playerid][pPos_z] = mysql_GetFloat("accounts","pPos_x","Name",playername2); PlayerInfo[playerid][pCarLic] = mysql_GetInt("accounts","CarLic","Name",playername2); PlayerInfo[playerid][pNewLic] = mysql_GetInt("accounts","NewLic","Name",playername2); PlayerInfo[playerid][pFlyLic] = mysql_GetInt("accounts","FlyLic","Name",playername2); PlayerInfo[playerid][pBoatLic] = mysql_GetInt("accounts","BoatLic","Name",playername2); PlayerInfo[playerid][pFishLic] = mysql_GetInt("accounts","FishLic","Name",playername2); PlayerInfo[playerid][pGunLic] = mysql_GetInt("accounts","GunLic","Name",playername2); PlayerInfo[playerid][pLKWLic] = mysql_GetInt("accounts","LKWLic","Name",playername2); PlayerInfo[playerid][pRollerLic] = mysql_GetInt("accounts","RollerLic","Name",playername2); PlayerInfo[playerid][pMotoLic] = mysql_GetInt("accounts","MotoLic","Name",playername2); PlayerInfo[playerid][pZig] = mysql_GetInt("accounts","Zig","Name",playername2); PlayerInfo[playerid][pKekse] = mysql_GetInt("accounts","Kekse","Name",playername2); PlayerInfo[playerid][pZigSucht] = mysql_GetInt("accounts","ZigSucht","Name",playername2); PlayerInfo[playerid][pCarTime] = mysql_GetInt("accounts","CarTime","Name",playername2); PlayerInfo[playerid][pMulltime] = mysql_GetInt("accounts","MullTime","Name",playername2); PlayerInfo[playerid][pPayDay] = mysql_GetInt("accounts","PayDay","Name",playername2); PlayerInfo[playerid][pPayDayHad] = mysql_GetInt("accounts","PayDayHad","Name",playername2); PlayerInfo[playerid][pCDPlayer] = mysql_GetInt("accounts","CDPlayer","Name",playername2); PlayerInfo[playerid][pWins] = mysql_GetInt("accounts","Wins","Name",playername2); PlayerInfo[playerid][pLoses] = mysql_GetInt("accounts","Loses","Name",playername2); PlayerInfo[playerid][pAlcoholPerk] = mysql_GetInt("accounts","AlcoholPerk","Name",playername2); PlayerInfo[playerid][pDrugPerk] = mysql_GetInt("accounts","DrugPerk","Name",playername2); PlayerInfo[playerid][pMiserPerk] = mysql_GetInt("accounts","MiserPerk","Name",playername2); PlayerInfo[playerid][pMiserPerk] = mysql_GetInt("accounts","PainPerk","Name",playername2); PlayerInfo[playerid][pTraderPerk] = mysql_GetInt("accounts","TraderPerk","Name",playername2); PlayerInfo[playerid][pTut] = mysql_GetInt("accounts","Tutorial","Name",playername2); PlayerInfo[playerid][pWarns] = mysql_GetInt("accounts","Warns","Name",playername2); PlayerInfo[playerid][pAdjustable] = mysql_GetInt("accounts","Adjustable","Name",playername2); PlayerInfo[playerid][pFuel] = mysql_GetInt("accounts","Fuel","Name",playername2); PlayerInfo[playerid][pMarried] = mysql_GetInt("accounts","Married","Name",playername2); PlayerInfo[playerid][pMarriedTo] = mysql_GetInt("accounts","MarriedTo","Name",playername2); SpawnChange[playerid] = mysql_GetInt("accounts","SpawnChange","Name",playername2); WantedLevel[playerid] = mysql_GetInt("accounts","WantedLevel","Name",playername2); WantedPoints[playerid] = mysql_GetInt("accounts","WantedPoints","Name",playername2); PlayerInfo[playerid][pPlayMinutes] = mysql_GetInt("accounts","PlayMinutes","Name",playername2); PlayerInfo[playerid][pGesamtMinutes] = mysql_GetInt("accounts","GesamtMinutes","Name",playername2); PlayerInfo[playerid][pMinutesSinceAn] = mysql_GetInt("accounts","MinutesSinceAn","Name",playername2); PlayerInfo[playerid][pSFPASS] = mysql_GetInt("accounts","SFPass","Name",playername2); PlayerInfo[playerid][pLVPASS] = mysql_GetInt("accounts","LVPASS","Name",playername2); OfflineFlucht[playerid] = mysql_GetInt("accounts","OffFlucht","Name",playername2); Knast[playerid] = mysql_GetInt("accounts","Knast","Name",playername2); KnastTime[playerid] = mysql_GetInt("accounts","KnastTime","Name",playername2); PlayerInfo[playerid][pHandyID] = mysql_GetInt("accounts","Handy","Name",playername2); PlayerInfo[playerid][pUhrID] = mysql_GetInt("accounts","Uhr","Name",playername2); KnastTime[playerid] = mysql_GetInt("accounts","KnastTime","Name",playername2); PlayerInfo[playerid][pOwnPerso] = mysql_GetInt("accounts","Perso","Name",playername2); PlayerInfo[playerid][pFrakSperre] = mysql_GetInt("accounts","FrakSperre","Name",playername2); PlayerInfo[playerid][pGehalt] = mysql_GetInt("accounts","Gehalt","Name",playername2); PlayerInfo[playerid][pInvWeapon] = mysql_GetInt("accounts","InvWeapon","Name",playername2); PlayerInfo[playerid][pInvAmmo] = mysql_GetInt("accounts","InvAmmo","Name",playername2); PlayerInfo[playerid][pInvWeapon2] = mysql_GetInt("accounts","InvWeapon2","Name",playername2); PlayerInfo[playerid][pInvAmmo2] = mysql_GetInt("accounts","InvAmmo2","Name",playername2); PlayerInfo[playerid][pInvMats] = mysql_GetInt("accounts","InvMats","Name",playername2); PlayerInfo[playerid][pInvDrugs] = mysql_GetInt("accounts","InvDrugs","Name",playername2); PlayerInfo[playerid][pGDeaths] = mysql_GetInt("accounts","gDeaths","Name",playername2); PlayerInfo[playerid][pGKills] = mysql_GetInt("accounts","gKills","Name",playername2); PlayerInfo[playerid][pMeldung] = mysql_GetInt("accounts","Meldung","Name",playername2); PlayerInfo[playerid][pPtankekey] = mysql_GetInt("accounts","Tanke","Name",playername2); PlayerInfo[playerid][pZollPass] = mysql_GetInt("accounts","Zollpass","Name",playername2); PlayerInfo[playerid][pZollPassTime] = mysql_GetInt("accounts","Zollpasstime","Name",playername2); PlayerInfo[playerid][pPaket] = mysql_GetInt("accounts","Paket","Name",playername2); PlayerInfo[playerid][pGesperrt] = mysql_GetInt("accounts","Banned","Name",playername2); PlayerInfo[playerid][pLPunkte] = mysql_GetInt("accounts","LPunkte","Name",playername2); printf("Spielerdaten vom Spieler %s erfolgreich aus der Datenbank geladen",GetPlayerName(playerid)); }

    jetzt kriege ich 26 errors :(



    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\pawno\include\dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\pawno\include\dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\pawno\include\dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\pawno\include\dutils.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\pawno\include\dutils.inc(337) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\pawno\include\dutils.inc(379) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\pawno\include\M_Bot.inc(150) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\pawno\include\M_Bot.inc(295) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\pawno\include\M_Bot.inc(815) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(3355) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(3366) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(3418) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(3446) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(3513) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(3609) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(3963) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(4715) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(4993) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5030) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5040) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5061) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5156) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5171) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5218) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5233) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5286) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5409) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5488) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(5698) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(6516) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(6839) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7128) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7138) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7148) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7157) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7166) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7175) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7184) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7193) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7202) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7213) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(7690) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(9108) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(9149) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(9237) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(10355) : warning 219: local variable "wlevel" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(10492) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(11496) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(11544) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(11581) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(12068) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(13118) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19053) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19212) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19274) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19948) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(19948) : warning 202: number of arguments does not match definition
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20022) : warning 209: function "OnPlayerLogin" should return a value
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20023) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20028) : error 021: symbol already defined: "GetPlayerName"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20030) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20032) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20038) : error 021: symbol already defined: "M_ResetPlayerWeapons"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20040) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20042) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20044) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20046) : error 021: symbol already defined: "M_SetPlayerPos"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20049) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20051) : error 021: symbol already defined: "M_SetPlayerPos"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20054) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20056) : error 021: symbol already defined: "M_SetPlayerPos"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20063) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20066) : error 021: symbol already defined: "string"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20069) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20071) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20077) : error 021: symbol already defined: "M_ResetPlayerWeapons"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20081) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20083) : error 021: symbol already defined: "M_SetPlayerPos"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20086) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20088) : error 021: symbol already defined: "M_SetPlayerPos"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20091) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20093) : error 021: symbol already defined: "M_SetPlayerPos"
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20100) : error 010: invalid function or declaration
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(20104) : error 021: symbol already defined: "string"



    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase




    26 Errors.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Du hast wahrscheinlich nur eine Klammer vergessen oder zu viel dort stehen.
    Poste am besten mal die ganze OnPlayerLogin Funktion, oder zähle die Klammern darin.

    hier mal die ganze funktion



    stock OnPlayerLogin(playerid)
    {
    new tmp2[256];
    new string2[128];
    new playername2[MAX_PLAYER_NAME];
    if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
    {
    GetPlayerName(playerid, playername2, MAX_PLAYER_NAME);
    PlayerInfo[playerid][pLevel] = mysql_GetInt("accounts","Level", "Name",playername2);
    PlayerInfo[playerid][pAdmin] = mysql_GetInt("accounts","AdminLevel","Name",playername2);
    PlayerInfo[playerid][pSupporter] = mysql_GetInt("accounts","Supporter", "Name",playername2);
    PlayerInfo[playerid][pVIP] = mysql_GetInt("accounts","DonateRank", "Name",playername2);
    PlayerInfo[playerid][gPupgrade] = mysql_GetInt("accounts","UpgradePoints", "Name",playername2);
    PlayerInfo[playerid][pConnectTime] = mysql_GetInt("accounts","ConnectedTime", "Name",playername2);
    PlayerInfo[playerid][pReg] = mysql_GetInt("accounts","Registered", "Name",playername2);
    PlayerInfo[playerid][pSex] = mysql_GetInt("accounts","Sex", "Name",playername2);
    PlayerInfo[playerid][pAge] = mysql_GetInt("accounts","Alter", "Name",playername2);
    PlayerInfo[playerid][pOrigin] = mysql_GetInt("accounts","Origin", "Name",playername2);
    PlayerInfo[playerid][pCK] = mysql_GetInt("accounts","CK", "Name",playername2);
    PlayerInfo[playerid][pMuted] = mysql_GetInt("accounts","Muted", "Name",playername2);
    PlayerInfo[playerid][pExp] = mysql_GetInt("accounts","Respekt", "Name",playername2);
    PlayerInfo[playerid][pCash] = mysql_GetInt("accounts","Geld", "Name",playername2);
    PlayerInfo[playerid][pAccount] = mysql_GetInt("accounts","Bank", "Name",playername2);
    PlayerInfo[playerid][pPlayerKredit] = mysql_GetInt("accounts","Kredit", "Name",playername2);
    PlayerInfo[playerid][pPlayerKreditDauer] = mysql_GetInt("accounts","KreditDauer", "Name",playername2);
    PlayerInfo[playerid][pCrimes] = mysql_GetInt("accounts","Verbrechen", "Name",playername2);
    PlayerInfo[playerid][pKills] = mysql_GetInt("accounts","Kills", "Name",playername2);
    PlayerInfo[playerid][pDeaths] = mysql_GetInt("accounts","Deaths", "Name",playername2);
    PlayerInfo[playerid][pWantedDeaths] = mysql_GetInt("accounts","WantedDeaths","Name",playername2);
    PlayerInfo[playerid][pPhoneBook] = mysql_GetInt("accounts","Telefonbuch","Name",playername2);
    PlayerInfo[playerid][pLottoNr] = mysql_GetInt("accounts","LottoNr","Name",playername2);
    PlayerInfo[playerid][pFishes] = mysql_GetInt("accounts","Fische","Name",playername2);
    PlayerInfo[playerid][pBiggestFish] = mysql_GetInt("accounts","BiggestFish","Name",playername2);
    PlayerInfo[playerid][pJob] = mysql_GetInt("accounts","Job","Name",playername2);
    PlayerInfo[playerid][pPayCheck] = mysql_GetInt("accounts","PayCheck","Name",playername2);
    PlayerInfo[playerid][pJailed] = mysql_GetInt("accounts","Jailed","Name",playername2);
    PlayerInfo[playerid][pGangJailed] = mysql_GetInt("accounts","GangJailed","Name",playername2);
    PlayerInfo[playerid][pMauled] = mysql_GetInt("accounts","Mauled","Name",playername2);
    PlayerInfo[playerid][pJailTime] = mysql_GetInt("accounts","JailTime","Name",playername2);
    PlayerInfo[playerid][pMats] = mysql_GetInt("accounts","Material","Name",playername2);
    PlayerInfo[playerid][pDrugs] = mysql_GetInt("accounts","Drogen","Name",playername2);
    PlayerInfo[playerid][pBoxMats] = mysql_GetInt("accounts","BMaterial","Name",playername2);
    PlayerInfo[playerid][pBoxDrugs] = mysql_GetInt("accounts","BDrogen","Name",playername2);
    PlayerInfo[playerid][pLeader] = mysql_GetInt("accounts","Leader","Name",playername2);
    PlayerInfo[playerid][pMember] = mysql_GetInt("accounts","Member","Name",playername2);
    PlayerInfo[playerid][pFMember] = mysql_GetInt("accounts","FMember","Name",playername2);
    PlayerInfo[playerid][pRank] = mysql_GetInt("accounts","Rank","Name",playername2);
    PlayerInfo[playerid][pChar] = mysql_GetInt("accounts","Char","Name",playername2);
    PlayerInfo[playerid][pContractTime] = mysql_GetInt("accounts","ContractTime","Name",playername2);
    PlayerInfo[playerid][pContract] = mysql_GetInt("accounts","Contract","Name",playername2);
    PlayerInfo[playerid][pDetSkill] = mysql_GetInt("accounts","DetSkill","Name",playername2);
    PlayerInfo[playerid][pLawSkill] = mysql_GetInt("accounts","LawSkill","Name",playername2);
    PlayerInfo[playerid][pPilotSkill] = mysql_GetInt("accounts","PilotSkill","Name",playername2);
    PlayerInfo[playerid][pBusSkill] = mysql_GetInt("accounts","BusSkill","Name",playername2);
    PlayerInfo[playerid][pMechSkill] = mysql_GetInt("accounts","MechSkill","Name",playername2);
    PlayerInfo[playerid][pJackSkill] = mysql_GetInt("accounts","JackSkill","Name",playername2);
    PlayerInfo[playerid][pCarSkill] = mysql_GetInt("accounts","CarSkill","Name",playername2);
    PlayerInfo[playerid][pDrugsSkill] = mysql_GetInt("accounts","DrugsSkill","Name",playername2);
    PlayerInfo[playerid][pCookSkill] = mysql_GetInt("accounts","CookSkill","Name",playername2);
    PlayerInfo[playerid][pSHealth] = mysql_GetFloat("accounts","SHealth","Name",playername2);
    PlayerInfo[playerid][pHealth] = mysql_GetFloat("accounts","Health","Name",playername2);
    PlayerInfo[playerid][pInt] = mysql_GetInt("accounts","Interior","Name",playername2);
    PlayerInfo[playerid][pLocal] = mysql_GetInt("accounts","Local","Name",playername2);
    PlayerInfo[playerid][pTeam] = mysql_GetInt("accounts","Team","Name",playername2);
    PlayerInfo[playerid][pModel] = mysql_GetInt("accounts","Model","Name",playername2);
    PlayerInfo[playerid][pPnumber] = mysql_GetInt("accounts","pPNumber","Name",playername2);
    PlayerInfo[playerid][pPhousekey] = mysql_GetInt("accounts","House","Name",playername2);
    PlayerInfo[playerid][pPbiskey] = mysql_GetInt("accounts","Bizz","Name",playername2);
    PlayerInfo[playerid][pHandyGeld] = mysql_GetInt("accounts","HandyGeld","Name",playername2);
    PlayerInfo[playerid][pHandyVer] = mysql_GetInt("accounts","HandyVer","Name",playername2);
    PlayerInfo[playerid][pPos_x] = mysql_GetFloat("accounts","pPos_x","Name",playername2);
    PlayerInfo[playerid][pPos_y] = mysql_GetFloat("accounts","pPos_x","Name",playername2);
    PlayerInfo[playerid][pPos_z] = mysql_GetFloat("accounts","pPos_x","Name",playername2);
    PlayerInfo[playerid][pCarLic] = mysql_GetInt("accounts","CarLic","Name",playername2);
    PlayerInfo[playerid][pNewLic] = mysql_GetInt("accounts","NewLic","Name",playername2);
    PlayerInfo[playerid][pFlyLic] = mysql_GetInt("accounts","FlyLic","Name",playername2);
    PlayerInfo[playerid][pBoatLic] = mysql_GetInt("accounts","BoatLic","Name",playername2);
    PlayerInfo[playerid][pFishLic] = mysql_GetInt("accounts","FishLic","Name",playername2);
    PlayerInfo[playerid][pGunLic] = mysql_GetInt("accounts","GunLic","Name",playername2);
    PlayerInfo[playerid][pLKWLic] = mysql_GetInt("accounts","LKWLic","Name",playername2);
    PlayerInfo[playerid][pRollerLic] = mysql_GetInt("accounts","RollerLic","Name",playername2);
    PlayerInfo[playerid][pMotoLic] = mysql_GetInt("accounts","MotoLic","Name",playername2);
    PlayerInfo[playerid][pZig] = mysql_GetInt("accounts","Zig","Name",playername2);
    PlayerInfo[playerid][pKekse] = mysql_GetInt("accounts","Kekse","Name",playername2);
    PlayerInfo[playerid][pZigSucht] = mysql_GetInt("accounts","ZigSucht","Name",playername2);
    PlayerInfo[playerid][pCarTime] = mysql_GetInt("accounts","CarTime","Name",playername2);
    PlayerInfo[playerid][pMulltime] = mysql_GetInt("accounts","MullTime","Name",playername2);
    PlayerInfo[playerid][pPayDay] = mysql_GetInt("accounts","PayDay","Name",playername2);
    PlayerInfo[playerid][pPayDayHad] = mysql_GetInt("accounts","PayDayHad","Name",playername2);
    PlayerInfo[playerid][pCDPlayer] = mysql_GetInt("accounts","CDPlayer","Name",playername2);
    PlayerInfo[playerid][pWins] = mysql_GetInt("accounts","Wins","Name",playername2);
    PlayerInfo[playerid][pLoses] = mysql_GetInt("accounts","Loses","Name",playername2);
    PlayerInfo[playerid][pAlcoholPerk] = mysql_GetInt("accounts","AlcoholPerk","Name",playername2);
    PlayerInfo[playerid][pDrugPerk] = mysql_GetInt("accounts","DrugPerk","Name",playername2);
    PlayerInfo[playerid][pMiserPerk] = mysql_GetInt("accounts","MiserPerk","Name",playername2);
    PlayerInfo[playerid][pMiserPerk] = mysql_GetInt("accounts","PainPerk","Name",playername2);
    PlayerInfo[playerid][pTraderPerk] = mysql_GetInt("accounts","TraderPerk","Name",playername2);
    PlayerInfo[playerid][pTut] = mysql_GetInt("accounts","Tutorial","Name",playername2);
    PlayerInfo[playerid][pWarns] = mysql_GetInt("accounts","Warns","Name",playername2);
    PlayerInfo[playerid][pAdjustable] = mysql_GetInt("accounts","Adjustable","Name",playername2);
    PlayerInfo[playerid][pFuel] = mysql_GetInt("accounts","Fuel","Name",playername2);
    PlayerInfo[playerid][pMarried] = mysql_GetInt("accounts","Married","Name",playername2);
    PlayerInfo[playerid][pMarriedTo] = mysql_GetInt("accounts","MarriedTo","Name",playername2);
    SpawnChange[playerid] = mysql_GetInt("accounts","SpawnChange","Name",playername2);
    WantedLevel[playerid] = mysql_GetInt("accounts","WantedLevel","Name",playername2);
    WantedPoints[playerid] = mysql_GetInt("accounts","WantedPoints","Name",playername2);
    PlayerInfo[playerid][pPlayMinutes] = mysql_GetInt("accounts","PlayMinutes","Name",playername2);
    PlayerInfo[playerid][pGesamtMinutes] = mysql_GetInt("accounts","GesamtMinutes","Name",playername2);
    PlayerInfo[playerid][pMinutesSinceAn] = mysql_GetInt("accounts","MinutesSinceAn","Name",playername2);
    PlayerInfo[playerid][pSFPASS] = mysql_GetInt("accounts","SFPass","Name",playername2);
    PlayerInfo[playerid][pLVPASS] = mysql_GetInt("accounts","LVPASS","Name",playername2);
    OfflineFlucht[playerid] = mysql_GetInt("accounts","OffFlucht","Name",playername2);
    Knast[playerid] = mysql_GetInt("accounts","Knast","Name",playername2);
    KnastTime[playerid] = mysql_GetInt("accounts","KnastTime","Name",playername2);
    PlayerInfo[playerid][pHandyID] = mysql_GetInt("accounts","Handy","Name",playername2);
    PlayerInfo[playerid][pUhrID] = mysql_GetInt("accounts","Uhr","Name",playername2);
    KnastTime[playerid] = mysql_GetInt("accounts","KnastTime","Name",playername2);
    PlayerInfo[playerid][pOwnPerso] = mysql_GetInt("accounts","Perso","Name",playername2);
    PlayerInfo[playerid][pFrakSperre] = mysql_GetInt("accounts","FrakSperre","Name",playername2);
    PlayerInfo[playerid][pGehalt] = mysql_GetInt("accounts","Gehalt","Name",playername2);
    PlayerInfo[playerid][pInvWeapon] = mysql_GetInt("accounts","InvWeapon","Name",playername2);
    PlayerInfo[playerid][pInvAmmo] = mysql_GetInt("accounts","InvAmmo","Name",playername2);
    PlayerInfo[playerid][pInvWeapon2] = mysql_GetInt("accounts","InvWeapon2","Name",playername2);
    PlayerInfo[playerid][pInvAmmo2] = mysql_GetInt("accounts","InvAmmo2","Name",playername2);
    PlayerInfo[playerid][pInvMats] = mysql_GetInt("accounts","InvMats","Name",playername2);
    PlayerInfo[playerid][pInvDrugs] = mysql_GetInt("accounts","InvDrugs","Name",playername2);
    PlayerInfo[playerid][pGDeaths] = mysql_GetInt("accounts","gDeaths","Name",playername2);
    PlayerInfo[playerid][pGKills] = mysql_GetInt("accounts","gKills","Name",playername2);
    PlayerInfo[playerid][pMeldung] = mysql_GetInt("accounts","Meldung","Name",playername2);
    PlayerInfo[playerid][pPtankekey] = mysql_GetInt("accounts","Tanke","Name",playername2);
    PlayerInfo[playerid][pZollPass] = mysql_GetInt("accounts","Zollpass","Name",playername2);
    PlayerInfo[playerid][pZollPassTime] = mysql_GetInt("accounts","Zollpasstime","Name",playername2);
    PlayerInfo[playerid][pPaket] = mysql_GetInt("accounts","Paket","Name",playername2);
    PlayerInfo[playerid][pGesperrt] = mysql_GetInt("accounts","Banned","Name",playername2);
    PlayerInfo[playerid][pLPunkte] = mysql_GetInt("accounts","LPunkte","Name",playername2);
    printf("Spielerdaten vom Spieler %s erfolgreich aus der Datenbank geladen",GetPlayerName(playerid));
    }
    PlayerInfo[playerid][pAdjustable] = 0;
    ResetPlayerMoney(playerid);
    ConsumingMoney[playerid] = 1;
    GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);
    CurrentMoney[playerid] = PlayerInfo[playerid][pCash];
    if(PlayerInfo[playerid][pReg] == 0)
    {
    PlayerInfo[playerid][pLevel] = 1;
    PlayerInfo[playerid][pSHealth] = 0.0;
    PlayerInfo[playerid][pHealth] = 99.0;
    PlayerInfo[playerid][pPos_x] = 2246.6;
    PlayerInfo[playerid][pPos_y] = -1161.9;
    PlayerInfo[playerid][pPos_z] = 1029.7;
    PlayerInfo[playerid][pInt] = 15;
    PlayerInfo[playerid][pLocal] = 255;
    PlayerInfo[playerid][pTeam] = 3;
    PlayerInfo[playerid][pModel] = 212;
    PlayerInfo[playerid][pPhousekey] = 255;
    PlayerInfo[playerid][pPbiskey] = 255;
    PlayerInfo[playerid][pAccount] = 5000;
    PlayerInfo[playerid][pReg] = 1;
    new randphone = 1000 + random(8999);//minimum 1000 max 9999 //giving one at the start
    PlayerInfo[playerid][pPnumber] = randphone;



    GivePlayerMoney(playerid, 10000);
    }
    if(PlayerInfo[playerid][pGesperrt] == 1)//PlayerInfo[playerid][pLevel] == -999) //autoban
    {
    format(string2,sizeof(string2)," %s versucht mit seinem gebannten Account online zu kommen und wurde gekickt!",playername2);
    ABroadCast(COLOR_LIGHTRED,string2,1);
    SendClientMessage(playerid,COLOR_RED," ||>>|| NoL - Banned ||<<||");
    SendClientMessage(playerid,COLOR_RED," Du wurdest vom Server gebannt, solltest du ein Problem damit haben, ");
    SendClientMessage(playerid,COLOR_RED," so wende dich an unser Admin-Team im Forum und schreibe einen Antrag !");
    Kick(playerid);
    return 1;
    }
    else if(PlayerInfo[playerid][pCK] > 0)
    {
    Kick(playerid);
    }
    format(string2, sizeof(string2), "Erfolgreich eingeloggt, Willkommen %s",playername2);
    SendClientMessage(playerid, COLOR_GREEN,string2);
    printf("%s has logged in.",playername2);
    if(PlayerInfo[playerid][pVIP] > 0)
    {
    SendClientMessage(playerid, COLOR_GREEN,"Du bist Premium Nutzer.");
    }
    if (PlayerInfo[playerid][pAdmin] > 0)
    {
    format(string2, sizeof(string2), "Willkommen Admin %d.",PlayerInfo[playerid][pAdmin]);
    SendClientMessage(playerid, COLOR_GREEN,string2);
    }
    if(PlayerInfo[playerid][pSupporter] > 0)
    {
    format(string2, sizeof(string2), "Willkommen Supporter %d.",PlayerInfo[playerid][pSupporter]);
    SendClientMessage(playerid, COLOR_GREEN,string2);
    }
    SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1);
    if(gTeam[playerid] == 0)
    {
    gTeam[playerid] = 3;
    }
    else
    {
    gTeam[playerid] = PlayerInfo[playerid][pTeam];
    }
    gPlayerLogged[playerid] = 1;
    SpawnPlayer(playerid);
    format(tmp2, sizeof(tmp2), "~w~Willkommen ~n~~b~ %s", playername2);
    DateProp(playerid);
    GameTextForPlayer(playerid, tmp2, 5000, 1);
    SendClientMessage(playerid, COLOR_YELLOW, motd);
    }
    if(OfflineFlucht[playerid] == 1 && WantedLevel[playerid] > 0)
    {
    SendClientMessage(playerid,COLOR_LIGHTRED, "* Du wurdest Eingesperrt weil du Offline-Flucht begangen hast!");
    SendClientMessage(playerid,COLOR_LIGHTRED, "* Pro WantedLevel 5 Minuten + 30 Minuten Strafe!");
    new string[100];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "*[Auto-Jail] %s wurde wegen Offline-Flucht eignesperrt.", sendername);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) && IsADChatter(i))
    {
    SendClientMessage(i,COLOR_ALLDEPT,string);
    }
    }
    OfflineFlucht[playerid] = 0;
    ResetPlayerWeapons(playerid);
    new wlevel = WantedLevel[playerid];
    PlayerInfo[playerid][pJailed] = 1;
    //PlayerInfo[playerid][pJailTime] = (wlevel*60)+1800;
    PlayerInfo[playerid][pJailTime] = (wlevel*5);
    SetPlayerInterior(playerid, 3);
    if(SAPDZellen == 0)//zelle1
    {
    SetPlayerPos(playerid,219.4217,110.5207,999.0156);
    SAPDZellen += 1;
    }
    if(SAPDZellen == 1)//zelle2
    {
    SetPlayerPos(playerid,223.2922,110.6890,999.0156);
    SAPDZellen += 1;
    }
    if(SAPDZellen == 2)//zelle3
    {
    SetPlayerPos(playerid,215.0419,110.2922,999.0156);
    SAPDZellen = 0;
    }
    WantedPoints[playerid] = 0;
    SetPlayerWantedLevel(playerid,0);
    WantedLevel[playerid] = 0;
    }
    else if(OfflineFlucht[playerid] == 1 && WantedLevel[playerid] == 0)
    {
    SendClientMessage(playerid,COLOR_LIGHTRED, "* Du wurdest eingesperrt weil du Offline-Flucht begangen hast!");
    new string[100];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "*[Auto-Jail] %s wurde wegen Offline-Flucht eingesperrt.", sendername);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) && IsADChatter(i))
    {
    SendClientMessage(i,COLOR_ALLDEPT,string);
    }
    }
    OfflineFlucht[playerid] = 0;
    ResetPlayerWeapons(playerid);
    PlayerInfo[playerid][pJailed] = 1;
    PlayerInfo[playerid][pJailTime] = 300;
    SetPlayerInterior(playerid, 3);
    if(SAPDZellen == 0)//zelle1
    {
    SetPlayerPos(playerid,215.0419,110.2922,999.0156);
    SAPDZellen += 1;
    }
    if(SAPDZellen == 1)//zelle2
    {
    SetPlayerPos(playerid,227.8457,110.7000,999.0156);
    SAPDZellen += 1;
    }
    if(SAPDZellen == 2)//zelle3
    {
    SetPlayerPos(playerid,223.2922,110.6890,999.0156);
    SAPDZellen = 0;
    }
    WantedPoints[playerid] = 0;
    SetPlayerWantedLevel(playerid,0);
    WantedLevel[playerid] = 0;
    }
    else if(OfflineFlucht[playerid] == 2 && WantedLevel[playerid] > 0)
    {
    SendClientMessage(playerid,COLOR_LIGHTRED, "* Du wurdest Eingesperrt weil du Gecuffed einen Crash hattest!");
    SendClientMessage(playerid,COLOR_LIGHTRED, "* Pro WantedLevel 5 Minuten!");
    new string[100];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "*[Auto-Jail] %s wurde wegen Exe-Crash eingesperrt.", sendername);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) && IsADChatter(i))
    {
    SendClientMessage(i,COLOR_ALLDEPT,string);
    }
    }
    OfflineFlucht[playerid] = 0;
    ResetPlayerWeapons(playerid);
    new wlevel = WantedLevel[playerid];
    PlayerInfo[playerid][pJailed] = 1;
    PlayerInfo[playerid][pJailTime] = wlevel*300;
    SetPlayerInterior(playerid, 3);
    if(SAPDZellen == 0)//zelle1
    {
    SetPlayerPos(playerid,223.2922,110.6890,999.0156);
    SAPDZellen += 1;
    }
    if(SAPDZellen == 1)//zelle2
    {
    SetPlayerPos(playerid,227.8457,110.7000,999.0156);
    SAPDZellen += 1;
    }
    if(SAPDZellen == 2)//zelle3
    {
    SetPlayerPos(playerid,215.0419,110.2922,999.0156);
    SAPDZellen = 0;
    }
    WantedPoints[playerid] = 0;
    SetPlayerWantedLevel(playerid,0);
    WantedLevel[playerid] = 0;
    }
    new stern = WantedLevel[playerid];
    SetPlayerWantedLevel(playerid,stern);
    WantedPoints[playerid] = stern * 2;
    if(PlayerInfo[playerid][pLevel] <= 3)

    KHSperre[playerid] = 1;
    SetTimerEx("KHSP",60000,0,"i",playerid);
    return 1;
    }


    & habe nachgezählt falls ich mich nicht verzählt habe sinds 56 klammern.