Hallo zusammen,
ich habe derzeit ein kleines Problemchen und die Suchehilfe hat mir leider nicht weitergeholfen. Die Skins der Polizei/ Medics werden nicht angezeigt. Ich hab euch mal die playerskins angehängt, weil ich nicht so verstehe, warum genau diese nicht angezeigt werden...
P.S. Eingefügt sind die Skins im Ordner natürlich!
Danke im Voraus
Code
#include "..\..\script_macros.hpp"
/*
File: fn_playerSkins.sqf
Author: Daniel Stuart
Server: Projekt Nachtwerk
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_C_Poloshirt_blue") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_1.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_burgundy") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_2.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_stripped") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_3.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_tricolour") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_4.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_salmon") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_5.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_redwhite") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_6.jpg"];
};
if (uniform player isEqualTo "U_C_Commoner1_1") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_7.jpg"];
};
};
};
case west: {
if (uniform player isEqualTo "U_Rangemaster") then {
_skinName = "textures\clothing\polizei\cop_uniform.paa";
if (LIFE_SETTINGS(getNumber,"cop_extendedSkins") isEqualTo 1) then {
if (FETCH_CONST(life_coplevel) >= 1) then {
_skinName = ["textures\clothing\polizei\cop_uniform_",(FETCH_CONST(life_coplevel)),".paa"] joinString "_skinName";
};
};
player setObjectTextureGlobal [0, _skinName];
};
if (uniform player isEqualTo "U_I_CombatUniform_shortsleeve" then {
player setObjectTextureGlobal [0, "textures\clothing\polizei\streifenuniform.paa"];
};
};
case independent: {
if (uniform player isEqualTo "U_Rangemaster") then {
player setObjectTextureGlobal [0, "textures\clothing\medic\medic_uniform.paa"];
};
if (uniform player isEqualTo "U_I_CombatUniform") then {
player setObjectTextureGlobal [0, "textures\clothing\medic\medic_kampfuniform.paa"];
};
};
};
Alles anzeigen