26.03.2012, 19:24
pawn Код:
new PlayerInfo[MAX_PLAYERS][pInfo];
pawn Код:
C:\Users\Danny\Desktop\Server\gamemodes\new.pwn(129) : error 009: invalid array size (negative, zero or out of bounds)
new PlayerInfo[MAX_PLAYERS][pInfo];
C:\Users\Danny\Desktop\Server\gamemodes\new.pwn(129) : error 009: invalid array size (negative, zero or out of bounds)
enum pInfo
{
pKey[128],
pLevel,
pAdmin,
pDonateRank,
gPupgrade,
pConnectTime,
pReg,
pSex,
pAge,
pOrigin,
pCK,
pMuted,
pExp,
pCash,
pAccount,
pCrimes,
pKills,
pDeaths,
pArrested,
pWantedDeaths,
pPhoneBook,
pLottoNr,
pJob,
pPayCheck,
pHeadValue,
pJailed,
pJailTime,
pMats,
pDrugs,
pLeader,
pMember,
pFMember,
pRank,
pChar,
pContractTime,
pDetSkill,
pSexSkill,
pBoxSkill,
pLawSkill,
pMechSkill,
pJackSkill,
pCarSkill,
pNewsSkill,
pDrugsSkill,
Float:pHealth,
Float:pSHealth,
pInt,
pLocal,
pTeam,
pModel,
pPnumber,
pPhousekey,
pPcarkey,
pPcarkey2,
pPcarkey3,
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,
pDrugPerk,
pWarns,
pVirWorld,
pFuel,
};
enum pInfo
{
pPass[128],// EXAMPLE
pJob,// EXAMPLE
};
new PlayerInfo[MAX_PLAYERS][pInfo];
new motd[256];