Hallo. ich habe derzeit das proplem das die skins nicht laden wollen
Config_Clothing.hpp
class cop {
title = "STR_Shops_C_Police";
license = "";
side = "cop";
uniforms[] = {
{ "NONE", "Remove Uniform", 0, { "", "", -1 } },
{ "U_Rangemaster", "Recruit", 50, { "", "", -1 } },
{ "U_B_CombatUniform_mcam_vest", "Officer", 50, { "life_coplevel", "SCALAR", 2 } },
{ "U_B_SpecopsUniform_sgg", "Sergeant", 50, { "life_coplevel", "SCALAR", 3 } },
{ "U_B_CombatUniform_mcam", "Lieutenant", 50, { "life_coplevel", "SCALAR", 4 } },
{ "U_B_CombatUniform_mcam_worn", "Captain", 50, { "life_coplevel", "SCALAR", 5 } }
};
headgear[] = {
{ "NONE", "Remove Hat", 0, { "", "", -1 } },
{ "H_Cap_police", "", 25, { "", "", -1 } },
{ "H_Beret_blk_POLICE", "", 50, { "life_coplevel", "SCALAR", 2 } },
{ "H_HelmetB_plain_mcamo", "", 75, { "life_coplevel", "SCALAR", 1 } },
{ "H_MilCap_mcamo", "", 100, { "life_coplevel", "SCALAR", 2 } },
{ "H_Booniehat_mcamo", "", 120, { "life_coplevel", "SCALAR", 1 } }
};
goggles[] = {
{ "NONE", "Remove Glasses", 0, { "", "", -1 } },
{ "G_Squares", "", 10, { "", "", -1 } },
{ "G_Shades_Blue", "", 20, { "", "", -1 } },
{ "G_Sport_Blackred", "", 20, { "", "", -1 } },
{ "G_Sport_Checkered", "", 20, { "", "", -1 } },
{ "G_Sport_Blackyellow", "", 20, { "", "", -1 } },
{ "G_Sport_BlackWhite", "", 20, { "", "", -1 } },
{ "G_Shades_Black", "", 25, { "", "", -1 } },
{ "G_Lowprofile", "", 30, { "", "", -1 } },
{ "G_Combat", "", 55, { "", "", -1 } },
{ "G_Aviator", "", 100, { "", "", -1 } },
{ "G_Lady_Mirror", "", 150, { "", "", -1 } },
{ "G_Lady_Dark", "", 150, { "", "", -1 } },
{ "G_Lady_Blue", "", 150, { "", "", -1 } }
};
vests[] = {
{ "NONE", "Remove Vest", 0, { "", "", -1 } },
{ "V_PlateCarrierL_CTRG", "Standart Weste", 800, { "", "", -1 } }
};
backpacks[] = {
{ "NONE", "Remove Backpack", 0, { "", "", -1 } },
{ "B_FieldPack_cbr", "", 500, { "", "", -1 } },
{ "B_AssaultPack_cbr", "", 700, { "", "", -1 } },
{ "B_Kitbag_cbr", "", 800, { "", "", -1 } },
{ "B_Bergen_sgg", "", 2500, { "", "", -1 } },
{ "B_Carryall_cbr", "", 3500, { "", "", -1 } }
};
};
fn_initCop.sqf
//Skins und Backpacks für Cops
// CopLevel 1
[] spawn
{
while {true} do
{
waitUntil {uniform player == "U_Rangemaster"};
player setObjectTextureGlobal [0,"textures\Cop-Skin\Rank0-Recruit.paa"];
waitUntil {uniform player != "U_Rangemaster"};
};
};
// CopLevel 2
[] spawn
{
while {true} do
{
waitUntil {uniform player == "U_B_CombatUniform_mcam_vest"};
player setObjectTextureGlobal [0,"textures\Cop-Skin\Rank1-Officer.paa"];
waitUntil {uniform player != "U_B_CombatUniform_mcam_vest"};
};
};
// CopLevel 3+4
[] spawn
{
while {true} do
{
waitUntil {uniform player == "U_B_SpecopsUniform_sgg"};
player setObjectTextureGlobal [0,"textures\Cop-Skin\Rank12-Sergeant.paa"];
waitUntil {uniform player != "U_B_SpecopsUniform_sgg"};
};
};
// CopLevel 5
[] spawn
{
while {true} do
{
waitUntil {uniform player == "U_B_CombatUniform_mcam"};
player setObjectTextureGlobal [0,"textures\Cop-Skin\Rank3-Lieutenant.paa"];
waitUntil {uniform player != "U_B_CombatUniform_mcam"};
};
};
// CopLevel 6
[] spawn
{
while {true} do
{
waitUntil {uniform player == "U_B_CombatUniform_mcam_worn"};
player setObjectTextureGlobal [0,"textures\Cop-Skin\Rank4-Captain.paa"];
waitUntil {uniform player != "U_B_CombatUniform_mcam_worn"};
};
};
[] spawn
{
while {true} do
{
waitUntil {uniform player == "V_PlateCarrierL_CTRG"};
player setObjectTextureGlobal [0,"textures\Cop-Skin\Cop-West.paa"];
waitUntil {uniform player != "V_PlateCarrierL_CTRG"};
};
};
//End CLothes
Bilder verzeichnis: textures\Cop-Skins\ da sind meine skins