enum pinfo
#1

Hey, I've got those errors
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3011) : error 017: undefined symbol "pWRestricted"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3023) : error 017: undefined symbol "pFirstaid"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3030) : error 017: undefined symbol "pMats"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3037) : error 017: undefined symbol "pWarns"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3039) : error 017: undefined symbol "pWarns"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3053) : error 017: undefined symbol "pPot"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3060) : error 017: undefined symbol "pCrack"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3074) : error 017: undefined symbol "pPaintTokens"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3092) : error 017: undefined symbol "pMats"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3099) : error 017: undefined symbol "pExp"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3122) : error 017: undefined symbol "pTokens"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3130) : error 017: undefined symbol "pTempVIP"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3131) : error 017: undefined symbol "pBuddyInvited"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3200) : error 017: undefined symbol "pGiftTime"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3207) : error 017: undefined symbol "pWExists"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3209) : error 017: undefined symbol "pWObject"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3210) : error 017: undefined symbol "pWTimer"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(321 : error 017: undefined symbol "pWExists"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3220) : error 017: undefined symbol "pWTimer"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3221) : error 017: undefined symbol "pWObject"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(322 : error 017: undefined symbol "pBoombox"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3230) : error 017: undefined symbol "pBoombox"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(323 : error 017: undefined symbol "pWTimer"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\VLRP\gamemodes\CSRPw.pwn(3239) : error 017: undefined symbol "pWObject"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


I've putted them already under '' enum pInfo ''
Reply
#2

Can you show us how did you exactly put them by putting the code?
Reply
#3

Код:
enum pInfo
{
	pKey[129],
	pLevel,
	pAdmin,
	pCookies,
	pDonateRank,
	gPupgrade,
	pConnectTime,
	pReg,
	pSex,
	pMask,
	pFirework1,
	pFirework2,
	pFirework3,
	pFirework,
	pAge,
	pFac,
	pFacRank,
    pFacLeader,
	pOrigin,
	pCK,
	pCash,
	pHospital,
	pMuted,
	pPrisonReason[128],
	pPrisonedBy[MAX_PLAYER_NAME],
	pFlag[128],
	pRMuted,
	pRMutedTotal,
	pRMutedTime,
	pVMuted,
	pVMutedTime,
	pCMuted,
	pCMutedTime,
	pFactionModerator,
	pAdvisorModerator,
	pGangModerator,
	pExp,
	pAccount,
	pCrimes,
	pPaintTeam,
	pKills,
	pDeaths,
	pArrested,
	pWantedDeaths,
	pPhoneBook,
	pLottoNr,
	pFishes,
	pToggedVIPChat,
	pBiggestFish,
	pJob,
	pAutoTextReply[64],
	pPhonePrivacy,
	pJob2,
	pNMute,
	pNMuteTotal,
	pADMute,
	pADMuteTotal,
	pHelpMute,
	pPayCheck,
	pHeadValue,
	pJailed,
	pBiz,
	pVBiz,
	pJailTime,
	pWRestricted,
	pMats,
 	pBriefCase,
 	pBCash,
 	pBCrack,
 	pBPot,
    pBMats,
	pPackages,
	pGM,
	pLeader,
	pMember,
	pDivision,
	pFMember,
	pSpeakerPhone,
	pRank,
	pChar,
	pStreetRep,
	pRepHandOut,
	pDetSkill,
	pSexSkill,
	pBoxSkill,
	pLawSkill,
	pMechSkill,
	pJackSkill,
	pCarSkill,
	pTruckSkill,
	pWantedLevel,
	pGunSkill,
	pGoods,
	pSMats,
	pPot,
	pCrack,
	pMeth,
	pSDrugs,
	pMInsure,
	pPcarkey,
	pPcarkey2,
	pPcarkey3,
	pBadgeNumber,
	pHasFakeBadge,
	pFakeBadge,
	pFakeRank,
	pBarricade,
	pHelper,
	pNewsSkill,
	pDrugsSkill,
	pArmsSkill,
	pSmugSkill,
	pCookSkill,
	pFishSkill,
	Float:pHealth,
	Float:pArmor,
	Float:pSArmor,
	Float:pSHealth,
	pInt,
	pLocal,
	pTeam,
	pModel,
	pPnumber,
	pSim,
	pSpeedo,
	pTogPm,
    pInternet,
    pSafe,
    pSmartPhone,
	pPhousekey,
	pPhousekey2,
	pPbiskey,
	pPgaragekey,
	Float:pPos_x,
	Float:pPos_y,
	Float:pPos_z,
	Float:pPos_r,
	pCarLic,
	pFlyLic,
	pBoatLic,
	pFishLic,
	pGunLic,
	pGuns[12],
	pAGuns[12],
	pCarTime,
	pPayDay,
	pPayDayHad,
	pCDPlayer,
	pWins,
	pLoses,
	pAlcoholPerk,
	pDrugPerk,
	pMiserPerk,
	pPainPerk,
	pTraderPerk,
	pTut,
	pAdminDuty,
	pWarns,
	pAdjustable,
	pMarried,
	pC4,
	pC4Get,
	pC4Used,
	pMarriedTo[128],
	pLock,
	pLockCar,
	pSprunk,
	pCigar,
	pPole,
	pSpraycan,
	pFuelcan,
	pRope,
	pDice,
	pBombs,
	pDuty,
	pFightStyle,
	pIP[32],
	pLastActive[32],
	pBanned,
	pPermaBanned,
	pDisabled,
	pAccent,
	pCHits,
	pFHits,
	pVW,
	pHouseInvite,
	pHydration,
	pRacePlayerLaps,
	pClothes,
	pRenting,
	pVehicles,
	pVehFile,
	pVehActive,
	pType1,
	pTempVIP,
	pBuddyInvited,
	pVIPInviteDay,
	pTokens,
	pPaintTokens,
	pType2,
	pType3,
	pType4,
	pType5,
	pDrugsTime,
	pLawyerTime,
	pGangWarn,
	pFactionBanned,
	pCSFBanned,
	pMechTime,
	pSexTime,
	pLawyerFreeTime,
	pGiftTime,
	pContractBy[32],
	pContractDetail[64],
	pBanAppealer,
 	pShopTech,
    pUndercover,
	pTogReports,
	pRadio,
	pRadioFreq,
	pDutyHours,
	pAcceptedHelp,
	pAcceptReport,
	pTrashReport,
	pInsurance,
	pTriageTime,
	pVehicleKeys,
	pVehicleKeysFrom,
	pTaxiLicense,
	pTicketTime,
	pScrewdriver,
	pSmslog,
	pSmslog0[256],
	pSmslog1[256],
	pSmslog2[256],
	pSmslog3[256],
	pSmslog4[256],
	pSmslog5[256],
	pSmslog6[256],
	pSmslog7[256],
	pSmslog8[256],
	pSmslog9[256],
	pKillLog0[256],
	pKillLog1[256],
	pKillLog2[256],
	pKillLog3[256],
	pKillLog4[256],
	pKillLog5[256],
	pKillLog6[256],
	pKillLog7[256],
	pKillLog8[256],
	pKillLog9[256],
	pWristwatch,
	pSurveillance,
	pTire,
	pFirstaid,
	pRccam,
	pReceiver,
	pGPS,
	pSweep,
	pSweepLeft,
	pBugged,
	pCheckCash,
	pChecks,
	pWExists,
	Float:pWX,
	Float:pWY,
	Float:pWZ,
	pWVW,
	pWInt,
	pWValue,
	pWObject,
	pWTimer,
	pWSeeds,
	pWarrant[128],
	pJudgeJailTime,
	pJudgeJailType,
	pBeingSentenced,
	pProbationTime,
	pDMIndicators,
	pDMReport0[63],
	pDMReport1[63],
	pDMReport2[63],
	pDMReport3[63],
	pDMReport4[63],
	pDMReport5[63],
	pDMReport6[63],
	pDMReport7[63],
	pDMReport8[63],
	pDMReport9[63],
	pDMKills,
	pOrder,
	pOBlocked,
	pCallsAccepted,
	pPatientsDelivered,
	pLiveBanned,
	pFreezeBank,
	pServiceTime,
};
I've just added pBMats and pBPot etc inside it.
Reply
#4

here is the code that works : ( don't forget to +REP me ! )
Код:
enum pInfo
{
	pKey[129],
	pLevel,
	pAdmin,
	pCookies,
	pDonateRank,
	gPupgrade,
	pConnectTime,
	pReg,
	pSex,
	pMask,
	pFirework1,
	pFirework2,
	pFirework3,
	pFirework,
	pAge,
	pFac,
	pFacRank,
    pFacLeader,
	pOrigin,
	pCK,
	pCash,
	pHospital,
	pMuted,
	pPrisonReason[128],
	pPrisonedBy[MAX_PLAYER_NAME],
	pFlag[128],
	pRMuted,
	pRMutedTotal,
	pRMutedTime,
	pVMuted,
	pVMutedTime,
	pCMuted,
	pCMutedTime,
	pFactionModerator,
	pAdvisorModerator,
	pGangModerator,
	pExp,
	pAccount,
	pCrimes,
	pPaintTeam,
	pKills,
	pDeaths,
	pArrested,
	pWantedDeaths,
	pPhoneBook,
	pLottoNr,
	pFishes,
	pToggedVIPChat,
	pBiggestFish,
	pJob,
	pAutoTextReply[64],
	pPhonePrivacy,
	pJob2,
	pNMute,
	pNMuteTotal,
	pADMute,
	pADMuteTotal,
	pHelpMute,
	pPayCheck,
	pHeadValue,
	pJailed,
	pBiz,
	pVBiz,
	pJailTime,
	pWRestricted,
	pMats,
 	pBriefCase,
 	pBCash,
 	pBCrack,
 	pBPot,
    pBMats,
	pPackages,
	pGM,
	pLeader,
	pMember,
	pDivision,
	pFMember,
	pSpeakerPhone,
	pRank,
	pChar,
	pStreetRep,
	pRepHandOut,
	pDetSkill,
	pSexSkill,
	pBoxSkill,
	pLawSkill,
	pMechSkill,
	pJackSkill,
	pCarSkill,
	pTruckSkill,
	pWantedLevel,
	pGunSkill,
	pGoods,
	pSMats,
	pPot,
	pCrack,
	pMeth,
	pSDrugs,
	pMInsure,
	pPcarkey,
	pPcarkey2,
	pPcarkey3,
	pBadgeNumber,
	pHasFakeBadge,
	pFakeBadge,
	pFakeRank,
	pBarricade,
	pHelper,
	pNewsSkill,
	pDrugsSkill,
	pArmsSkill,
	pSmugSkill,
	pCookSkill,
	pFishSkill,
	Float:pHealth,
	Float:pArmor,
	Float:pSArmor,
	Float:pSHealth,
	pInt,
	pLocal,
	pTeam,
	pModel,
	pPnumber,
	pSim,
	pSpeedo,
	pTogPm,
    pInternet,
    pSafe,
    pSmartPhone,
	pPhousekey,
	pPhousekey2,
	pPbiskey,
	pPgaragekey,
	Float:pPos_x,
	Float:pPos_y,
	Float:pPos_z,
	Float:pPos_r,
	pCarLic,
	pFlyLic,
	pBoatLic,
	pFishLic,
	pGunLic,
	pGuns[12],
	pAGuns[12],
	pCarTime,
	pPayDay,
	pPayDayHad,
	pCDPlayer,
	pWins,
	pLoses,
	pAlcoholPerk,
	pDrugPerk,
	pMiserPerk,
	pPainPerk,
	pTraderPerk,
	pTut,
	pAdminDuty,
	pWarns,
	pAdjustable,
	pMarried,
	pC4,
	pC4Get,
	pC4Used,
	pMarriedTo[128],
	pLock,
	pLockCar,
	pSprunk,
	pCigar,
	pPole,
	pSpraycan,
	pFuelcan,
	pRope,
	pDice,
	pBombs,
	pDuty,
	pFightStyle,
	pIP[32],
	pLastActive[32],
	pBanned,
	pPermaBanned,
	pDisabled,
	pAccent,
	pCHits,
	pFHits,
	pVW,
	pHouseInvite,
	pHydration,
	pRacePlayerLaps,
	pClothes,
	pRenting,
	pVehicles,
	pVehFile,
	pVehActive,
	pType1,
	pTempVIP,
	pBuddyInvited,
	pVIPInviteDay,
	pTokens,
	pPaintTokens,
	pType2,
	pType3,
	pType4,
	pType5,
	pDrugsTime,
	pLawyerTime,
	pGangWarn,
	pFactionBanned,
	pCSFBanned,
	pMechTime,
	pSexTime,
	pLawyerFreeTime,
	pGiftTime,
	pContractBy[32],
	pContractDetail[64],
	pBanAppealer,
 	pShopTech,
    pUndercover,
	pTogReports,
	pRadio,
	pRadioFreq,
	pDutyHours,
	pAcceptedHelp,
	pAcceptReport,
	pTrashReport,
	pInsurance,
	pTriageTime,
	pVehicleKeys,
	pVehicleKeysFrom,
	pTaxiLicense,
	pTicketTime,
	pScrewdriver,
	pSmslog,
	pSmslog0[256],
	pSmslog1[256],
	pSmslog2[256],
	pSmslog3[256],
	pSmslog4[256],
	pSmslog5[256],
	pSmslog6[256],
	pSmslog7[256],
	pSmslog8[256],
	pSmslog9[256],
	pKillLog0[256],
	pKillLog1[256],
	pKillLog2[256],
	pKillLog3[256],
	pKillLog4[256],
	pKillLog5[256],
	pKillLog6[256],
	pKillLog7[256],
	pKillLog8[256],
	pKillLog9[256],
	pWristwatch,
	pSurveillance,
	pTire,
	pFirstaid,
	pRccam,
	pReceiver,
	pGPS,
	pSweep,
	pSweepLeft,
	pBugged,
	pCheckCash,
	pChecks,
	pWExists,
	Float:pWX,
	Float:pWY,
	Float:pWZ,
	pWVW,
	pWInt,
	pWValue,
	pWObject,
	pWTimer,
	pWSeeds,
	pWarrant[128],
	pJudgeJailTime,
	pJudgeJailType,
	pBeingSentenced,
	pProbationTime,
	pDMIndicators,
	pDMReport0[63],
	pDMReport1[63],
	pDMReport2[63],
	pDMReport3[63],
	pDMReport4[63],
	pDMReport5[63],
	pDMReport6[63],
	pDMReport7[63],
	pDMReport8[63],
	pDMReport9[63],
	pDMKills,
	pOrder,
	pOBlocked,
	pCallsAccepted,
	pPatientsDelivered,
	pLiveBanned,
	pFreezeBank,
	pServiceTime
};
note : in enums , the last OR pServiceTime don't need " , " at the end . if you put it . the whole code will not work !
Reply
#5

Quote:
Originally Posted by Chrisis
Посмотреть сообщение
note : in enums , the last OR pServiceTime don't need " , " at the end . if you put it . the whole code will not work !
That's not true. You can put a comma on the last index of an enumerator and it will work fine.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)