Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. stock Faction(playerid,PlayerInfo[playerid][pFactionStat])
  2. {
  3. switch(PlayerInfo[playerid][pFactionStat])
  4. {
  5. if(PlayerInfo[playerid][pFactionID] == 1)
  6. {
  7. case 0: Tmp = "Non-Cadet";
  8. case 1: Tmp = "Cadet2";
  9. case 2: Tmp = "Cadet3";
  10. case 3: Tmp = "Cadet4";
  11. case 4: Tmp = "Cadet5";
  12. }
  13. }
  14. return Tmp;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement