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"));
https://sampforum.blast.hk/showthread.php?tid=175565
please read it there is tutorial. |