26.12.2012, 12:01
Dont know how am i getting the following errors couldnt fix it
With the following code where i tried to create a new faction on slot 8.
Код:
D:\Xtreme Gaming Roleplay\gamemodes\xg-rp.pwn(1299) : error 029: invalid expression, assumed zero
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.");