Advertisement
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 __GETC__(var) (call var)
- if(side player == independent) then {
- if ((uniform player) == "U_B_CombatUniform_mcam") then {
- player setObjectTextureGlobal [0, "textures\medic\medic_uniform.paa"];
- };
- };
- if(side player == WEST) then {
- // Basic cop uniform.
- if (uniform player == "U_B_CombatUniform_mcam" && __GETC__(life_coplevel) == 1) then {
- player setObjectTextureGlobal [0, "textures\police\police_low.paa"];
- };
- // Basic cop uniform.
- if (uniform player == "U_B_CombatUniform_mcam" && (__GETC__(life_coplevel) == 2 OR __GETC__(life_coplevel) == 3)) then {
- player setObjectTextureGlobal [0, "textures\police\police_low.paa"];
- };
- // Basic cop uniform.
- 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 {
- player setObjectTextureGlobal [0, "textures\police\police_high.paa"];
- };
- // Basic cop uniform.
- 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 {
- player setObjectTextureGlobal [0, "textures\police\police_high.paa"];
- };
- // SCO cop uniform.
- if (uniform player == "U_B_CombatUniform_mcam" && (__GETC__(life_coplevel) == 13)) then {
- player setObjectTextureGlobal [0, "textures\police\police_high.paa"];
- };
- };
- if(side player == civilian) then {
- // Prisoner
- if(side player == civilian && uniform player == "U_B_CombatUniform_mcam") then {
- player setObjectTextureGlobal [0, "textures\civilians\prisoner.paa"];
- };
- // Black wolf
- if(side player == civilian && uniform player == "U_B_CombatUniform_mcam_vest") then {
- player setObjectTextureGlobal [0, "textures\civilians\prisoner.paa"];
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement