Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "..\..\script_macros.hpp"
- /*
- File: fn_playerSkins.sqf
- Author: Daniel Stuart
- Description:
- Sets skins for players by their side and uniform.
- */
- private ["_skinName"];
- switch (playerSide) do {
- case civilian: {
- if (LIFE_SETTINGS(getNumber,"civ_skins") isEqualTo 1) then {
- if (uniform player isEqualTo "U_B_CombatUniform_mcam") then {
- player setObjectTextureGlobal [0, "textures\Civil\Mercenaires.jpg"];
- };
- };
- };
- case west: {
- if ((FETCH_CONST(life_coplevel) >= 1) && (uniform player == "U_Rangemaster")) then {
- player setObjectTextureGlobal [0, "textures\cop_uniform.jpg"];
- };
- if ((FETCH_CONST(life_coplevel) >= 5) && ((uniform player) == "U_B_CombatUniform_mcam")) then {
- player setObjectTextureGlobal [0, "textures\Police\PoliceHautG.jpg"];
- };
- if ((FETCH_CONST(life_coplevel) >= 5) && ((uniform player) == "U_B_CombatUniform_mcam_worn")) then {
- player setObjectTextureGlobal [0, "textures\Police\GIPN.jpg"];
- };
- if ((backpack player) == "B_Kitbag_sgg") then {
- (unitbackpack player) setObjectTextureGlobal [0,"textures\Police\SacGIPN.png"];
- };
- };
- case independent: {
- if (uniform player isEqualTo "U_B_CombatUniform_mcam") then {
- player setObjectTextureGlobal [0, "textures\samu\medic_sapeur.jpg"];
- };
- if (uniform player isEqualTo "U_Rangemaster") then {
- player setObjectTextureGlobal [0, "textures\samu\medic_uniform.jpg"];
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement