Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <macro.h>
- /*
- COP UNIFORM SCRIPT
- Edited: by maximum for better handling of actual uniforms
- Created for www.altisliferpg.com
- */
- #define FETCH_CONST(var) (call var)
- // Medic Uniform(s)
- if(side player == independent) then {
- if ((uniform player) == "U_B_CombatUniform_mcam") then {
- player setObjectTextureGlobal [0, "textures\medic\medic_uniform.jpg"];
- };
- };
- // Civilian Clothing
- if(side player == civilian) then {
- // Prisoner
- if(side player == civilian && uniform player == "U_C_Poloshirt_blue") then {
- player setObjectTextureGlobal [0, "textures\civilians\wolf.jpg"];
- };
- // Black wolf
- if(side player == civilian && uniform player == "U_C_Poloshirt_burgundy") then {
- player setObjectTextureGlobal [0, "textures\civilians\cat.jpg"];
- };
- if(side player == civilian && uniform player == "U_C_Poloshirt_stripped") then {
- player setObjectTextureGlobal [0, "textures\civilians\cloud.jpg"];
- };
- if(side player == civilian && uniform player == "U_C_Poloshirt_tricolour") then {
- player setObjectTextureGlobal [0, "textures\civilians\hand.jpg"];
- };
- if(side player == civilian && uniform player == "U_C_Poloshirt_salmon") then {
- player setObjectTextureGlobal [0, "textures\civilians\pika.jpg"];
- };
- if(side player == civilian && uniform player == "U_C_Poloshirt_redwhite") then {
- player setObjectTextureGlobal [0, "textures\civilians\polcol.jpg"];
- };
- if(side player == civilian && uniform player == "U_C_Commoner1_1") then {
- player setObjectTextureGlobal [0, "textures\civilians\tiger.jpg"];
- };
- };
- // Police Uniforms
- if(side player == WEST) then {
- // Trainee - Cadet cop uniform.
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 1 OR FETCH_CONST(life_coplevel) == 2)) then {
- player setObjectTextureGlobal [0, "textures\police\police.jpg"];
- };
- // Patrol Officer uniform.
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 3)) then {
- player setObjectTextureGlobal [0, "textures\police\po.jpg"];
- };
- // Senior Patrol Officer uniform
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 4)) then {
- player setObjectTextureGlobal [0, "textures\police\spo.jpg"];
- };
- // Sergeant
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 5)) then {
- player setObjectTextureGlobal [0, "textures\police\sergeant.jpg"];
- };
- // Lieutenant
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 6)) then {
- player setObjectTextureGlobal [0, "textures\police\lt.jpg"];
- };
- // Police Captain
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 7)) then {
- player setObjectTextureGlobal [0, "textures\police\captain.jpg"];
- };
- // Police Assistant Chief
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 8)) then {
- player setObjectTextureGlobal [0, "textures\police\police.jpg"];
- };
- // Police Chief
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 9)) then {
- player setObjectTextureGlobal [0, "textures\police\ast_chief.jpg"];
- };
- // Police Assistant Commissioner
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 10)) then {
- player setObjectTextureGlobal [0, "textures\police\ast_commissioner.jpg"];
- };
- // Police Commissioner
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 11)) then {
- player setObjectTextureGlobal [0, "textures\police\commissioner.jpg"];
- };
- // SWAT Private
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 12)) then {
- player setObjectTextureGlobal [0, "textures\police\swat_private.jpg"];
- };
- // SWAT Sergeant
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 13)) then {
- player setObjectTextureGlobal [0, "textures\police\swat_sergeant.jpg"];
- };
- // SWAT Captain
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 14)) then {
- player setObjectTextureGlobal [0, "textures\police\swat_captain.jpg"];
- };
- // SWAT Vice Commander
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 15)) then {
- player setObjectTextureGlobal [0, "textures\police\swat_vice_commander.jpg"];
- };
- // SWAT Commander
- if (uniform player == "U_Rangemaster" && (FETCH_CONST(life_coplevel) == 16)) then {
- player setObjectTextureGlobal [0, "textures\police\swat_commander.jpg"];
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment