Das der Skin falsch geschrieben ist, habe ich schon geändert und auch das alles andere aktualisiert trotzdem geht es immer noch nicht Troublemaker2_0
Config_Clothings.hpp
Code
class med_clothing {
title = "STR_MAR_EMS_Clothing_Shop";
conditions = "";
side = "med";
uniforms[] = {
{ "NONE", $STR_C_Remove_uniforms, 0, "" },
{ "U_B_CTRG_1", $STR_C_EMS_uniforms, 50, "" },
{ "U_B_CombatUniform_mcam_worn", "OP Kittel", 50, "" }
};
fn_medicLoadout.sqf
Code
#include "..\..\script_macros.hpp"
/*
File: fn_medicLoadout.sqf
Author: Bryan "Tonic" Boardwine
Description:
Loads the medic out with the default gear.
*/
private ["_handle"];
_handle = [] spawn life_fnc_stripDownPlayer;
waitUntil {scriptDone _handle};
player addUniform "U_Rangemaster";
player addItem "FirstAidKit";
player addItem "FirstAidKit";
player linkItem "ItemMap";
player linkItem "ItemCompass";
player linkItem "ItemWatch";
[] call life_fnc_playerSkins;
[] call life_fnc_saveGear;
Alles anzeigen
fn_playerSkins.sqf
Code
if (uniform player isEqualTo "U_B_CTRG_1") then {
player setObjectTextureGlobal [0, "textures\Medic_CTRG1.paa"];
};
fn_initMedic.sqf
Code
[] spawn
{
while {true} do
{
waitUntil {uniform player == "U_B_CTRG_1"};
player setObjectTextureGlobal [0,"textures\Medic_CTRG1.paa"];
waitUntil {uniform player != "U_B_CTRG_1"};
};
};
Hier noch mal alle