Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. #include <macro.h>
  2. /*
  3. COP UNIFORM SCRIPT
  4. Edited: by maximum for better handling of actual uniforms
  5. Created for www.altisliferpg.com
  6. */
  7. #define __GETC__(var) (call var)
  8.  
  9. if(side player == independent) then {
  10. if ((uniform player) == "U_B_CombatUniform_mcam") then {
  11. player setObjectTextureGlobal [0, "textures\medic\medic_uniform.paa"];
  12. };
  13. };
  14. if(side player == WEST) then {
  15. // Basic cop uniform.
  16. if (uniform player == "U_B_CombatUniform_mcam" && __GETC__(life_coplevel) == 1) then {
  17. player setObjectTextureGlobal [0, "textures\police\police_low.paa"];
  18. };
  19. // Basic cop uniform.
  20. if (uniform player == "U_B_CombatUniform_mcam" && (__GETC__(life_coplevel) == 2 OR __GETC__(life_coplevel) == 3)) then {
  21. player setObjectTextureGlobal [0, "textures\police\police_low.paa"];
  22. };
  23. // Basic cop uniform.
  24. if (uniform player == "U_B_CombatUniform_mcam" && (__GETC__(life_coplevel) == 4 OR __GETC__(life_coplevel) == 5 OR __GETC__(life_coplevel) == 6 OR __GETC__(life_coplevel) == 7)) then {
  25. player setObjectTextureGlobal [0, "textures\police\police_high.paa"];
  26. };
  27. // Basic cop uniform.
  28. if (uniform player == "U_B_CombatUniform_mcam" && (__GETC__(life_coplevel) == 8 OR __GETC__(life_coplevel) == 9 OR __GETC__(life_coplevel) == 10 OR __GETC__(life_coplevel) == 11 OR __GETC__(life_coplevel) == 12)) then {
  29. player setObjectTextureGlobal [0, "textures\police\police_high.paa"];
  30. };
  31. // SCO cop uniform.
  32. if (uniform player == "U_B_CombatUniform_mcam" && (__GETC__(life_coplevel) == 13)) then {
  33. player setObjectTextureGlobal [0, "textures\police\police_high.paa"];
  34. };
  35.  
  36.  
  37. };
  38. if(side player == civilian) then {
  39. // Prisoner
  40. if(side player == civilian && uniform player == "U_B_CombatUniform_mcam") then {
  41. player setObjectTextureGlobal [0, "textures\civilians\prisoner.paa"];
  42. };
  43. // Black wolf
  44. if(side player == civilian && uniform player == "U_B_CombatUniform_mcam_vest") then {
  45. player setObjectTextureGlobal [0, "textures\civilians\prisoner.paa"];
  46. };
  47. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement