Tag mismatch warning on strcmp lines
#3

Quote:
Originally Posted by arakuta
Посмотреть сообщение
enum isn't a string. It's a integer.

pawn Код:
enum LOL
{
    let, // Supposed to be 1?
    me, // Supposed to be 2?
    do,
    a,
    little,
    test
}

// Supposing that LetMeDo[playerid][let] = 1; is the same that LetMeDo[playerid][1] = 1;

new LetMeDo[MAX_PLAYERS][LOL];

Now Let, me, do, a, little, test are all INTEGERS.
In your example yes. But,
pawn Код:
enum pInfo
{
    pSkin,
    pAdmin,
    pJob,
    pLevel,
    pCash,
    pCashInBank,
    Float:pLastX,
    Float:pLastY,
    Float:pLastZ,
    pLastVW,
    pLastInterior,
    pBanned,
    pWarns,
    pBizID,
    pHouseID,
    pVehicleID1,
    pVehicleID2,
    pVehicleID3,
    pCurrentVKey,
    pSpawnPoint,
    pRentingHouseID,
    pLastDiscReason,
    pPlayerXP,
    pDonationTokens,
    pForumName[32],
    pInv1[32],
    pInv2[32],
    pInv3[32],
    pInv4[32],
    pInv5[32],
    pInv6[32],
    pInv7[32],
    pInv8[32],
    pInv9[32],
    pInv10[32],
    pInv11[32],
    pInv12[32],
    pBoughtBag
}
new PlayerInfo[MAX_PLAYERS][pInfo];
ForumName and the inventory slots in my script are not.
Reply


Messages In This Thread
Tag mismatch warning on strcmp lines - by zDevon - 26.01.2013, 16:58
Re: Tag mismatch warning on strcmp lines - by arakuta - 26.01.2013, 17:25
Re: Tag mismatch warning on strcmp lines - by zDevon - 26.01.2013, 17:32
Re: Tag mismatch warning on strcmp lines - by Roach_ - 26.01.2013, 17:58
Re: Tag mismatch warning on strcmp lines - by zDevon - 26.01.2013, 18:00
Re: Tag mismatch warning on strcmp lines - by zDevon - 27.01.2013, 13:54

Forum Jump:


Users browsing this thread: 2 Guest(s)