Need Help - PlayerInfo Error
#2

Make sure the variable is global and it should be under define(s)
pawn Code:
#include <a_samp>
//rest

#undef
#define MAX_PLAYERS 50
// rest

enum pInfo
{
    pKey[128],
    pLevel,
    pAdmin,
    pGas,
//--------------------------------------------------------------------------------------------------------------------------------------------
    pHelper,
//--------------------------------------------------------------------------------------------------------------------------------------------
    pDonateRank,
    gPupgrade,
    pConnectTime,
    pReg,
    pSex,
    pAge,
    pOrigin,
    pHotel,
    pCK,
    pMuted,
    pMuteTime,
    pExp,
    pCash,
    pAccount,
    pCrimes,
    pKills,
    pDeaths,
    pArrested,
    pWantedDeaths,
    pPhoneBook,
    pLottoNr,
    pFishes,
    pBiggestFish,
    pJob,
    pPayCheck,
    pHeadValue,
    pJailed,
    pJailTime,
    pMats,
    pIdzebneba,
    pDrugs,
    pLeader,
    pHot,
    pMember,
    pAbonimenti,
    pPDuty,
    pFMember,
    pRank,
    pChar,
    pContractTime,
    pDetSkill,
    pSexSkill,
    pBoxSkill,
    pLawSkill,
    pMechSkill,
    pJackSkill,
    pCarSkill,
    pNewsSkill,
    pDrugsSkill,
    pCookSkill,
    pFishSkill,
    Float:pHealth,
    Float:pSHealth,
    pInt,
    pLocal,
    pTeam,
    pModel,
    pPnumber,
    pPhousekey,
    pPcarkey,
    pPcarkey2,
    pPcarkey3,
    pGangKey,
    pPbiskey,
    Float:pPos_x,
    Float:pPos_y,
    Float:pPos_z,
    pCarLic,
    pFlyLic,
    pBoatLic,
    pFishLic,
    pGunLic,
    pGun1,
    pGun2,
    pGun3,
    pGun4,
    pAmmo1,
    pAmmo2,
    pAmmo3,
    pAmmo4,
    pCarTime,
    pPayDay,
    pPayDayHad,
    pWatch,
    pCrashed,
    pWins,
    pLoses,
    pAlcoholPerk,
    pDrugPerk,
    pMiserPerk,
    pPainPerk,
    pTraderPerk,
    pTut,
    pMissionNr,
    pWarns,
    pVirWorld,
    pFuel,
    pMarried,
    pMarriedTo[128],
    pFishTool,
    pNote1[128],
    pNote1s,
    pNote2[128],
    pNote2s,
    pNote3[128],
    pNote3s,
    pNote4[128],
    pNote4s,
    pNote5[128],
    pNote5s,
    pInvWeapon,
    pInvAmmo,
    pLighter,
    pCigarettes,
    pRequestingBackup,
    pRoadblock,
    pMask,
    pMaskuse,
    pHideNumber,
    pSpeaker,
    pLocked,
    pCountry,
    pVisa,
    pPassport,
    pHRadio,
    pORadio,
//  pRobed,
    //pSQLID,
};

new PlayerInfo[MAX_PLAYERS][pInfo];

// Callbacks
Can you also show us lines 472 and 478?
Reply


Messages In This Thread
Need Help - PlayerInfo Error - by TwisTa98 - 26.12.2012, 13:59
Re: Need Help - PlayerInfo Error - by Konstantinos - 26.12.2012, 14:02
Re: Need Help - PlayerInfo Error - by ryansheilds - 26.12.2012, 15:15
Re: Need Help - PlayerInfo Error - by TwisTa98 - 26.12.2012, 15:19

Forum Jump:


Users browsing this thread: 1 Guest(s)