It's not fraction it's faction.
Listen up, create variables for each charge. In the "PlayerInfo", where you host player's infpormation host what faction he belongs to.
I might also suggest you using files for each faction for dynamic creation, deletion, edition of leader and ranks and such.
So a file should look like that :
Filename would be "LSPD.txt"
Text:
Код:
Leader=Name_Name
Rank1=Officer 1
Rank2=Officer 2
Rank3=Officer 3
// ... so on
suggest you make a "Factions" directory if you want it all simpler for your eye.
Then, when you make accesses you can check player's faction then understand what he belongs, and get the ranks or what so ever inofmration from the files..
If you want more help, tell me. "Faction System" is mostly likely the easiest to build.