Couldnt fix a error.
#1

Dont know how am i getting the following errors couldnt fix it
Код:
D:\Xtreme Gaming Roleplay\gamemodes\xg-rp.pwn(1299) : error 029: invalid expression, assumed zero
With the following code where i tried to create a new faction on slot 8.
pawn Код:
format(file, sizeof(file), "factions/NG.ini");
    format(FacInfo[8][fRank0], 32, "%s", dini_Get(file, "Rank0"));
    format(FacInfo[8[fRank1], 32, "%s", dini_Get(file, "Rank1")); // In this line i got the error.
    format(FacInfo[8][fRank2], 32, "%s", dini_Get(file, "Rank2"));
    format(FacInfo[8][fRank3], 32, "%s", dini_Get(file, "Rank3"));
    format(FacInfo[8][fRank4], 32, "%s", dini_Get(file, "Rank4"));
    format(FacInfo[8][fRank5], 32, "%s", dini_Get(file, "Rank5"));
    format(FacInfo[8][fRank6], 32, "%s", dini_Get(file, "Rank6"));
    format(FacInfo[8][fDiv1], 8, "%s", dini_Get(file, "Div1"));
    format(FacInfo[8][fDiv2], 8, "%s", dini_Get(file, "Div2"));
    format(FacInfo[8][fDiv3], 8, "%s", dini_Get(file, "Div3"));
    format(FacInfo[8][fDiv4], 8, "%s", dini_Get(file, "Div4"));
    print("National Guard files loaded successfully.");
Reply


Messages In This Thread
Couldnt fix a error. - by Laure - 26.12.2012, 12:01
Re: Couldnt fix a error. - by rbush12 - 26.12.2012, 12:04
Re: Couldnt fix a error. - by Laure - 26.12.2012, 12:05
Re: Couldnt fix a error. - by rbush12 - 26.12.2012, 12:07
Re: Couldnt fix a error. - by NicholasA - 26.12.2012, 12:10

Forum Jump:


Users browsing this thread: 3 Guest(s)