Error bei LoH bitte help me

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

  • public OnPlayerClickPlayer(playerid, clickedplayerid, source)
    {
    //new pn[MAX_PLAYER_NAME];
    if(SpielerInfo[playerid][pAdmin] == 1)// hier is der error
    {
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    ShowPlayerDialog(playerid,DIALOG_CLICK,DIALOG_STYLE_LIST,name,"Goto\nGethere\nKick\nBan\nHealth\nSlap\nTV\nInterior","OK","Abbrechen");
    pClicked[playerid] = clickedplayerid;
    }
    return 1;
    }
    pn(playerid)
    {
    new nn[MAX_PLAYER_NAME];
    GetPlayerName(pid, nn, sizeof nn);
    return nn;
    }


    hier der error:

    C:\Users\DereezZeD\Desktop\Infinity Roleplay\gamemodes\IRP0.2.3.pwn(1733) : error 017: undefined symbol "SpielerInfo"

  • die sind überall so
    mit SpielerInfo
    mein enum wo das passwort usw. drin is is auch SpielerInfo


  • enum pInfo
    {
    pKey[128],
    pGebannt,
    premium,
    pAdmin,
    pDonateRank,
    gPupgrade,
    pConnectTime,
    pReg,
    pSex,
    pAge,
    pCK,
    pMuted,
    pExp,
    pCash,
    pAccount,
    pCrimes,
    pKills,
    pDeaths,
    pArrested,
    pWantedDeaths,
    pPhoneBook,
    pLottoNr,
    pFishes,
    pBiggestFish,
    sJob,
    pPayCheck,
    pJobGehalt,
    pHeadValue,
    pJailed,
    pJailTime,
    pMats,
    pDrugs,
    sLeader,
    sMember,
    pRank,
    pChar,
    pContractTime,
    pDetSkill,
    pSexSkill,
    pBoxSkill,
    pLawSkill,
    pMechSkill,
    pJackSkill,
    pCarSkill,
    pNewsSkill,
    pDrugsSkill,
    pCookSkill,
    pFishSkill,
    pFarmerSkill,
    Float:pHealth,
    Float:pSHealth,
    pInt,
    pLocal,
    pTeam,
    pModel,
    pPnumber,
    pPhousekey,
    pPbiskey,
    Float:pPos_x,
    Float:pPos_y,
    Float:pPos_z,
    pCarLic,
    pFlyLic,
    pMotoLic,
    pLKWLic,
    pARG,
    pCarInsurance,
    pLifeInsurance,
    pBoxMats,
    pBoxDrugs,
    pBoatLic,
    pFishLic,
    pGunLic,
    pGun1,
    pGun2,
    pGun3,
    pGun4,
    pGun5,
    pAmmo1,
    pAmmo2,
    pAmmo3,
    pAmmo4,
    pAmmo5,
    pCarTime,
    pPayDay,
    pPayDayHad,
    pPlayMinutes,
    pGesamtMinutes,
    pMinutesSinceLogin,
    pCDPlayer,
    pWins,
    pLoses,
    pAlcoholPerk,
    pDrugPerk,
    pMiserPerk,
    pPainPerk,
    pTraderPerk,
    pTut,
    pWarns,
    pOnline,
    pFuel,
    pMarried,
    pMarriedTo[128],
    pSpawnChange,
    pSFLic,
    pLVLic,
    pUhrID,
    pHandyID,
    pHandyTon,
    pZigID,
    pZig,
    pZigSucht,
    pHandyGeld,
    pHandyVer,
    pRoadblock,
    Float:pGWD,
    pBadWordWarns,
    sPizza,
    pOwnPerso,
    pOwnAntrag,
    pPersoStop,
    pPinB,
    PIPWarns,
    sMonat,
    sAccName,
    Float:pTx,
    Float:pTy,
    Float:pTz,
    Raucht,
    Zuege,
    sWaffenScheinVerbot


    };
    new SpielerInfo[MAX_PLAYERS][pInfo];// da guck SpielerInfo


  • public OnPlayerClickPlayer(playerid, clickedplayerid, source)
    {
    //new pn[MAX_PLAYER_NAME];
    if(pInfo[playerid][pAdmin] == 1)// hier is der error
    {
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    ShowPlayerDialog(playerid,DIALOG_CLICK,DIALOG_STYLE_LIST,name,"Goto\nGethere\nKick\nBan\nHealth\nSlap\nTV\nInterior","OK","Abbrechen");
    pClicked[playerid] = clickedplayerid;
    }
    return 1;
    }
    pn(playerid)
    {
    new nn[MAX_PLAYER_NAME];
    GetPlayerName(pid, nn, sizeof nn);
    return nn;
    }