Beiträge von saya

    Kannst du ein bisschen mehr vom Code posten? Ich vermute mal der Fehler liegt einige Zeilen dadrüber, weil der aktuelle Code in Ordnung ist :)

    der 1. error ( mit dem dialog darüber )
    if(dialogid==DIALOG_ZOLLCONTROL2)
    {
    new idzoll = strval(inputtext);
    if(idzoll >= 1 && idzoll <= 20)
    {
    if(zollvar[idzoll-1] == 1)
    {
    format(stringx, sizeof(stringx), "%s hat den Zoll %d geöffnet.", MeinName(playerid), idzoll);
    SendRadioMessage(1, TEAM_BLUE_COLOR, stringx);
    SendRadioMessage(2, TEAM_BLUE_COLOR, stringx);
    zollvar[idzoll-1] = 0;
    }
    else {
    format(stringx, sizeof(stringx), "%s hat den Zoll %d geschlossen.", MeinName(playerid), idzoll);
    SendRadioMessage(1, TEAM_BLUE_COLOR, stringx);
    SendRadioMessage(2, TEAM_BLUE_COLOR, stringx);
    zollvar[idzoll-1] = 1;
    }
    }
    else SendClientMessage(playerid, COLOR_WHITE, "Nur von 1-20!");
    }
    if(dialogid==DIALOG_BUYGUN)
    {
    new location = PlayerInfo[playerid][pLocal];
    if(response)
    {
    switch(listitem)
    {
    case 0://Schutzweste
    {
    new price = GunPrice[0][0];
    if(GetPlayerMoney(playerid) < price)return SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    if(!IsACop(playerid))return SendClientMessage(playerid, -1, "{DF0101}FEHLER: {FFFFFF}Leider können nur Staatsfraktionen eine Rüstung besitzen!");
    GivePlayerMoney(playerid,-price);
    SetPlayerArmour(playerid, 100);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 1://Fallschirm
    {
    new price = GunPrice[1][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 46, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 2://Golfschläger
    {
    new price = GunPrice[2][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 2, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 3://Schlagstock
    {
    new price = GunPrice[3][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 3, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 4://Baseballschläger
    {
    new price = GunPrice[4][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 5, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 5://Schaufel
    {
    new price = GunPrice[5][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 6, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 6://PoolCue
    {
    new price = GunPrice[6][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 7, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 7://Schlagring
    {
    new price = GunPrice[7][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 1, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 8://VioletterDildo
    {
    new price = GunPrice[8][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 10, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 9://WeißerDildo
    {
    new price = GunPrice[9][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 13, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 10://LangerweißerDildo
    {
    new price = GunPrice[10][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 12, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 11://WeißerDildo2
    {
    new price = GunPrice[11][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 11, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 12://Blumen
    {
    new price = GunPrice[12][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 14, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 13://Cane
    {
    new price = GunPrice[13][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 15, 1);
    new preis = price/1;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 14://SD-Pistole
    {
    new SD[128];
    format(SD, 128, "Gib an wieviel Munition du\nfür die SD-Pistole Kaufen Möchtest.\n%d pro Kugel",GunPrice[14][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_SD,DIALOG_STYLE_INPUT,"Waffen - Laden",SD,"Auswählen", "Abbrechen");
    }
    case 15://DesertEagle
    {
    if(isPlayerInFrakt(playerid,8))return SendClientMessage(playerid, -1, "{DF0101}FEHLER: {FFFFFF}Hitmans können leider keine Deagle besitzen!");
    new DE[128];
    format(DE, 128, "Gib an wieviel Munition du\nfür die DesertEagle Kaufen Möchtest.\n%d pro Kugel",GunPrice[15][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_DE,DIALOG_STYLE_INPUT,"Waffen - Laden",DE,"Auswählen", "Abbrechen");
    }
    case 16://MP5
    {
    new MP[128];
    format(MP, 128, "Gib an wieviel Munition du\nfür die MP5 Kaufen Möchtest.\n%d pro Kugel",GunPrice[16][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_MP,DIALOG_STYLE_INPUT,"Waffen - Laden",MP,"Auswählen", "Abbrechen");
    }
    case 17://Shotgun
    {
    new SG[128];
    format(SG, 128, "Gib an wieviel Munition du\nfür die Shotgun Kaufen Möchtest.\n%d pro Kugel",GunPrice[17][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_SG,DIALOG_STYLE_INPUT,"Waffen - Laden",SG,"Auswählen", "Abbrechen");
    }
    case 18://AK47
    {
    new AK[128];
    format(AK, 128, "Gib an wieviel Munition du\nfür die AK47 Kaufen Möchtest.\n%d pro Kugel",GunPrice[18][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_AK,DIALOG_STYLE_INPUT,"Waffen - Laden",AK,"Auswählen", "Abbrechen");
    }
    case 19://M4
    {
    new M4[128];
    format(M4, 128, "Gib an wieviel Munition du\nfür die AK47 Kaufen Möchtest.\n%d pro Kugel",GunPrice[19][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_M4,DIALOG_STYLE_INPUT,"Waffen - Laden",M4,"Auswählen", "Abbrechen");
    }
    case 20://Rifle
    {
    new RF[128];
    format(RF, 128, "Gib an wieviel Munition du\nfür die Rifle Kaufen Möchtest.\n%d pro Kugel",GunPrice[20][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_RF,DIALOG_STYLE_INPUT,"Waffen - Laden",RF,"Auswählen", "Abbrechen");
    }
    case 21://Messer
    {
    if(PlayerInfo[playerid][pLevel] >= 20)
    {
    new price = GunPrice[21][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 4, 1);
    new preis = price/10;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    else { SendClientMessage(playerid,COLOR_GREEN,"Du bist nicht Level 20!"); }
    }
    case 22://Sniper
    {
    if(PlayerInfo[playerid][pLevel] >= 25)
    {
    new SN[128];
    format(SN, 128, "Gib an wieviel Munition du\nfür die Sniper Kaufen Möchtest.\n%d pro Kugel",GunPrice[22][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_SN,DIALOG_STYLE_INPUT,"Waffen - Laden",SN,"Auswählen", "Abbrechen");
    }
    else { SendClientMessage(playerid,COLOR_GREEN,"Du bist nicht Level 25!"); }
    }
    case 23://Katana
    {
    new price = GunPrice[23][0];
    if(GetPlayerMoney(playerid) < price)
    {
    SendClientMessage(playerid, COLOR_GREY, "*** Nicht genug Geld! ***");
    return 1;
    }
    GivePlayerMoney(playerid,-price);
    GivePlayerWeapon(playerid, 8, 1);
    new preis = price/10;
    BizzInfo[location-99][bTill] += preis;
    ExtortionBiz(location-99, preis);
    BizzInfo[location-99][bProducts]--;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
    }
    case 24://Tränengas
    {
    new TG[128];
    format(TG, 128, "Gib an wieviel Munition du\nfür das Tränengas Kaufen Möchtest.\n%d pro Kugel",GunPrice[24][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_TG,DIALOG_STYLE_INPUT,"Waffen - Laden",TG,"Auswählen", "Abbrechen");
    }
    case 25://Feuerlöscher
    {
    new FL[128];
    format(FL, 128, "Gib an wieviel Munition du\nfür den Feuerlöscher Kaufen Möchtest.\n%d pro Füllung",GunPrice[25][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_FL,DIALOG_STYLE_INPUT,"Waffen - Laden",FL,"Auswählen", "Abbrechen");
    }
    }
    }
    else
    SendClientMessage(playerid,S_COL_GREY,"** Du hast das Menü verlassen.");
    return 1;
    }


    der 2.
    case 14://SD-Pistole
    {
    new SD[128];
    format(SD, 128, "Gib an wieviel Munition du\nfür die SD-Pistole Kaufen Möchtest.\n%d pro Kugel",GunPrice[14][0]);
    ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_SD,DIALOG_STYLE_INPUT,"Waffen - Laden",SD,"Auswählen", "Abbrechen");
    }

    yo, habe gerade "versucht" nen ammu system zu "schreiben" aber bekomme jedoch 3 errors :c
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(57054) : error 029: invalid expression, assumed zero
    C:\Users\Nutzer\Desktop\German Trollface Reallife-My-Reallife Script\gamemodes\MRL.pwn(57286) : error 029: invalid expression, assumed zero

    die zeilen :


    der 1. error


    if(dialogid==DIALOG_BUYGUN)


    der 2.. error : ShowPlayerDialog(playerid,DIALOG_BUYGUN_AMMO_SD,DIALOG_STYLE_INPUT,"Waffen - Laden",SD,"Auswählen", "Abbrechen");



    MFG_

    Schau mal in deine Konversationen...


    Hast du evtl eine andere Variable die CoordsOffset heißt?


    und steht das enum über dem Offsets und hast du darauf geachtet, das enum in keine Funktion zu schreiben? :D

    hahah :D ich habs danke :) habe den enum über dem new hinkopiert und der error ist weg, danke :)

    Kannst du mal zeigen...wie du das verwendest? :D


    Bzw in welcher Zeile genau der Fehler auftaucht :)

    hier
    new Offsets[20][CoordsOffset] =
    {
    {560, -0.35644531250, 0.0388183593, 0.863788605}, //560,415,421,426,579,402,541
    {415, -0.290039062, -0.284179688, 0.631957054}, //
    {421, -0.323303223, 0.0207519532, 0.731482506}, //
    {426, -0.455505371, -0.143066406, 0.861475945}, //
    {579, -0.442626953, -0.269042969, 1.27014542}, //
    {402, -0.412841797, -0.474365234, 0.778804779},//
    {541, -0.479999, 0.070000, 0.669999}, //
    {544, 0.522338867, 2.5925293, 1.46867275},
    {528, 0.563842773, 0.754882812, 0.487258911},
    {525, -0.0089111328, 0.273193359, 1.4037838},
    {409, -0.439941406, 0.824829102, 0.842817307},
    {461, 0.00000000, -0.932861328, 0.494509697},
    {521, 0.00000000, -0.928955078, 0.558652878},
    {586, 0.00000000, -1.20178223, 0.671886444},
    {506, 0.541137695, 0.282714844, 0.272130013},
    {482, -0.392211914, 0.565551758, 0.941601753},
    {424, -0.624511719, 0.139648438, 0.918135643},
    {470, -0.617797851, 0.056640625, 1.10928631},
    {433, -0.577392578, 1.23217773, 1.70311642},
    {432, -1.21105957, -3.84765625, 1.17495251}
    };

    yo, habe gerade mein script compiled und kriege nun einen error : error 017: undefined symbol "CoordsOffset"



    hier der enum :
    enum CoordsOffset
    {
    VehicleM,
    Float:XOS,
    Float:YOS,
    Float:ZOS,
    };

    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.

    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.

    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));



    }

    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],

    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.

    Kannst du mal dein ganzes OnDialogResponse posten? Möglicherweise hast du da einen Klammerfehler drin.


    Funktioniert es denn, wenn du den geposteten Code-Teil entfernst?

    ja es funktioniert wenn ich den teil entferne

    hey ich wollte gerade ein gf auf mysql umschreiben mit dem tut von maddin nun wenn ich folgendes unter ondialogresponse eintrage crasht pawno



    switch(dialogid)
    {
    case DIALOG_REGISTER:
    {
    if(response)
    {
    if(strlen(inputtext) == 0) // Wenn kein Passwort angegebene wurde
    {
    ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Register","Das angegebene Passwort war zu Kurz...\nBitte Registrier dich jetzt mit einem Passwort:","Register","Abbrechen");
    return 1;
    }
    else
    {
    CreateAccount(playerid, inputtext); //Account wird erstellt
    SetPVarInt(playerid,"Eingeloggt",1); //Die variable wird auf 1 gesetzt, damit wir nun die Skin Auswahl benutzen können ohne wieder nach unserem Passwort gefragt zu werden.
    SpawnPlayer(playerid); //Wir lassen den Spieler Spawnen
    return 1;
    }
    }
    else
    {
    Kick(playerid); //Wenn auf Abbrechen geklickt wurde, wird der Spieler gekickt damit man ohne Account nicht Spielen kann.
    }
    }
    case DIALOG_LOGIN:
    {
    if(response)
    {
    if(strlen(inputtext) == 0) // Wenn kein Passwort angegebene wurde
    {
    ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","Das Angegebene Passwort war Falsch.\nBitte log dich jetzt mit dem richtigen Passwort ein:","Login","Abbrechen");
    return 1;
    }
    else
    {
    new SpielerName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, SpielerName, MAX_PLAYER_NAME);
    if(!strcmp(inputtext, mysql_ReturnPasswort(SpielerName), true)) // Wir holen uns das Passwort aus der MySQL Datenbank und überprüfen es mit dem angegebenen passwort.
    {
    SetPVarInt(playerid,"Eingeloggt",1); //Falls beide passwörter übereinstimmen wird die Variable auf 1 gesetzt damit wir die Skin auswahl benutzen können.
    LoadPlayer(playerid); //Der Spieler wird "geladen", speich es werden seine Daten aus der Datenbank geholt und in variablen gespeichert um diese im Skript zu verwenden.
    SpawnPlayer(playerid); //Wir lassen den Spieler Spawnen
    return 1;
    }
    else
    {
    //Wenn das Passwort falsch war, lassen wir erneut das Login fenster erscheinen damit der Spieler das Richtige Passwort eingibt.
    ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","Das war das Falsche Passwort.\nBitte log dich jetzt mit dem richtigen Passwort ein:","Login","Abbrechen");
    return 1;
    }
    }
    }
    else
    {
    Kick(playerid); //Wenn auf Abbrechen geklickt wurde, wird der Spieler gekickt damit man ohne Account nicht Spielen kann.
    }
    }
    }
    return 1;
    }

    ^topic ehm ich glaube es war irgendwas mit German M... Reallife es war glaubeich so eine art YVL LS Version das script hatten einige server die auch erfolg hatten.


    MFG_ ( es war das script )

    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.
    )