Enums
#2

pawn Код:
enum FacInfo
{
    fSName[255],
    fType,
    fLName[255],
    fColour[32],
    fRank[12][64],
    fDivisonS[8][64],
    fDivisonL[8][64],
};

new fRank[MAX_FACTIONS][12][64];
new fDivisonS[MAX_FACTIONS][8][64];
new fDivisonL[MAX_FACTIONS][8][64];
You can do it like that

Код:
format(string, sizeof(string), "Faction%dRank1=%s\n",f,fRank[f][0]); fwrite(hFile, string);
Reply


Messages In This Thread
Enums - by DLR - 26.03.2014, 09:58
Re: Enums - by RenSoprano - 26.03.2014, 10:03
Re: Enums - by DLR - 26.03.2014, 10:09
Re: Enums - by iZN - 26.03.2014, 10:32
Re: Enums - by DLR - 26.03.2014, 11:02

Forum Jump:


Users browsing this thread: 2 Guest(s)