Code: fn_playerSkins.sqf
if(FETCH_CONST(Life_copLevel) > 6 && FETCH_CONST(Life_copLevel) == 6){
[player,"PolBlau"] call BIS_fnc_setUnitInsignia;
};
if(FETCH_CONST(Life_copLevel) > 12 && FETCH_CONST(Life_copLevel) == 12) then {
[player,"PolSilber"] call BIS_fnc_setUnitInsignia;
};
if(FETCH_CONST(Life_copLevel) > 17 && FETCH_CONST(Life_copLevel) == 17) then {
[player,"PolGold"] call BIS_fnc_setUnitInsignia;
};
Alles anzeigen
Code: description.ext
class CfgUnitInsignia
{
class PolBlau
{
displayName = "Polizei Altis Blau"; // Name displayed in Arsenal
author = "YouKnowIt // Bundes Polizei Deutschland"; // Author displayed in Arsenal
texture = "textures\PolBlau.paa"; // Image path
textureVehicle = ""; // Does nothing currently, reserved for future use
};
class PolSilber
{
displayName = "Polizei Altis Blau"; // Name displayed in Arsenal
author = "YouKnowIt // Bundes Polizei Deutschland"; // Author displayed in Arsenal
texture = "textures\PolSilber.paa"; // Image path
textureVehicle = ""; // Does nothing currently, reserved for future use
};
class PolGold
{
displayName = "Polizei Altis Blau"; // Name displayed in Arsenal
author = "YouKnowIt // Bundes Polizei Deutschland"; // Author displayed in Arsenal
texture = "textures\PolGold.paa"; // Image path
textureVehicle = ""; // Does nothing currently, reserved for future use
};
};
Alles anzeigen
kann das so von der Logik her funktionieren?
~ Quelle