06.08.2013, 08:29
How would I convert this to y_ini
pawn Код:
new file[64];
format(file, sizeof(file), "factions/LSPD.ini");
format(FacInfo[1][facLeader], MAX_PLAYER_NAME, %s, dini_Get(file, "LSPDLeader"));
format(FacInfo[1][facMembers], 8, "%s", dini_Get(file, "LSPDMembers"));
format(FacInfo[1][fRank0], 32, "%s", dini_Get(file, "Rank0"));
format(FacInfo[1][fRank1], 32, "%s", dini_Get(file, "Rank1"));
format(FacInfo[1][fRank2], 32, "%s", dini_Get(file, "Rank2"));
format(FacInfo[1][fRank3], 32, "%s", dini_Get(file, "Rank3"));
format(FacInfo[1][fRank4], 32, "%s", dini_Get(file, "Rank4"));
format(FacInfo[1][fRank5], 32, "%s", dini_Get(file, "Rank5"));
format(FacInfo[1][fRank6], 32, "%s", dini_Get(file, "Rank6"));
format(FacInfo[1][fDiv1], 32, "%s", dini_Get(file, "Div1"));
format(FacInfo[1][fDiv2], 32, "%s", dini_Get(file, "Div2"));
format(FacInfo[1][fDiv3], 32, "%s", dini_Get(file, "Div3"));
format(FacInfo[1][fDiv4], 32, "%s", dini_Get(file, "Div4"));