Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.42 KB | None | 0 0
  1. function TeamColor(playerid)
  2. {
  3.     new faction = PlayerInfo[playerid][pMember] + PlayerInfo[playerid][pLeader];
  4.     switch(faction)
  5.     {
  6.         case 0: SetPlayerColor(playerid, COLOR_WHITE);
  7.         case 1: SetPlayerColor(playerid, COLOR_PD);
  8.         case 2: SetPlayerColor(playerid, COLOR_FBI);
  9.         case 3: SetPlayerColor(playerid, COLOR_NG);
  10.         case 4: SetPlayerColor(playerid, COLOR_LIGHTRED);
  11.         case 5: SetPlayerColor(playerid, COLOR_MAFIA);
  12.         case 6: SetPlayerColor(playerid, COLOR_TRIADS);
  13.         case 8: SetPlayerColor(playerid, COLOR_HITMAN);
  14.         case 9: SetPlayerColor(playerid, COLOR_PURPLE);
  15.         case 10: SetPlayerColor(playerid, COLOR_TAXI);
  16.         case 15: SetPlayerColor(playerid, COLOR_VAGOS);
  17.         case 16: SetPlayerColor(playerid, COLOR_AZTECAS);
  18.         case 17: SetPlayerColor(playerid, COLOR_BALLAS);
  19.         case 18: SetPlayerColor(playerid, COLOR_GREEN2);
  20.     }
  21. }
  22. #define COLOR_PD                        0x1732E8FF
  23. #define COLOR_NG                        0x1732E8FF
  24. #define COLOR_FBI                       0x2211EEFF
  25. #define COLOR_AZTECAS                   0x0DDF6FF
  26. #define COLOR_VAGOS                     0xB5C31EFF
  27. #define COLOR_VAGOS2                    0xB5C31EFF
  28. #define COLOR_MAFIA                     0xAD0017FF
  29. #define COLOR_ORANGE                    0xFF8000FF
  30. #define COLOR_BALLAS                    0x943CB1FF
  31. #define COLOR_GROVE                     0x0910FFFF
  32. #define COLOR_GREEN                     0x33AA33AA
  33. #define COLOR_GREEN2                    0x006c00ff
  34. #define COLOR_TRIADS                    0x6F511FFF
  35. #define COLOR_TAXI                      0xF6CA1EFF
  36. #define COLOR_HITMAN                    0x7E3937FF
  37. #define COLOR_PURPLE                    0xC2A2DAAA
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement