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

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]
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)