Invalid subscript (not an array or too many subscripts)
#6

Quote:
Originally Posted by Youssef221
Посмотреть сообщение
Shouldn't this code:

pawn Код:
CarID[MAX_VEHICLES_PER_PLAYER],
doesn't have ","?

It's located In:
pawn Код:
enum playerData
{
    ID,
    Password[160],
    IP,
    Admin,
    Score,
    Money,
    Coins,
    Banned,
    MuteSeconds,
    Primarydrconpass[160],
    Secondarydrconpass[160],
    VIP,
    Hours,
    Minutes,
    Kills,
    Deaths,
    BanExp,
    BanM,
    BanY,
    BanHour,
    BanMin,
    VipExp,
    VipM,
    VipY,
    VipHour,
    VipMin,
    pRespect,
    nRespect,
    BestKillingSpree,
    DriftPoints,
    StuntPoints,
    RacePoints,
    HouseID,
    BusinessID,
    NoteID,
    ClanID,
    C4,
    Primaryorconpass[160],
    Secondaryorconpass[160],
    HouseExp,
    HouseM,
    HouseY,
    HouseHour,
    HouseMin,
    bool:WeaponSlots[MAX_WEAPONS],
    WeaponDepositID,
    Email[70],
    CarID[MAX_VEHICLES_PER_PLAYER],
};
new pInfo[MAX_PLAYERS][playerData];
It should be:
pawn Код:
CarID[MAX_VEHICLES_PER_PLAYER]
I put ; after }, so it should work just fine.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)