26.04.2015, 17:23
Not sure I understand, but here is the code used for any faction/player involvement.
Rank1 goes onto to Rank12
And this is the code used to get the rank's name when editing. Or shows the rank in the player's faction.
PHP код:
INI_String("fRank1", FactionInfo[playerid][fRank1], 10);
PHP код:
INI_WriteString(File,"fRank1", FactionInfo[id][fRank1]);
PHP код:
format(string, sizeof(string), "[ Faction: working... ][ Rank: %s ]", FactionRanks(playerid,PlayerInfo[playerid][Rank]));
SendClientMessage(playerid, GREY, string);
PHP код:
FactionInfo[PlayerInfo[playerid][FactionID]][fRank1]