@@ -184,7 +184,12 @@ if (isMultiplayer) then {
184184 if (_revive_activated == 1 ) then {execVM " duws_revive\reviveInit.sqf" };
185185 PlayerKilledEH = player addEventHandler [" killed" , {commandpointsblu1 = commandpointsblu1 - DUWSMP_CP_death_cost; publicVariable " commandpointsblu1" }];
186186 " support_specialized_training_available" addPublicVariableEventHandler {lbSetColor [2103 , 11 , [0 , 1 , 0 , 1 ]];};
187- " support_armory_available" addPublicVariableEventHandler {hq_blu1 addaction [" <t color='#ff1111'>Armory</t>" ," VAS\open.sqf" , " " , 0 , true , true , " " , " _this == player" ];lbSetColor [2103 , 5 , [0 , 1 , 0 , 1 ]];};
187+ " support_armory_available" addPublicVariableEventHandler {
188+ hq_blu1 addaction [" <t color='#ff0066'>Armory 1 (VAS)</t>" ," VAS\open.sqf" , " " , 0 , true , true , " " , " _this == player" ];
189+ hq_blu1 addaction [" <t color='#ff0066'>Armory 2 (VA)</t>" ," bisArsenal.sqf" , " " , 0 , true , true , " " , " _this == player" ];
190+ { _x addaction [" <t color='#ff0066'>Armory 1 (VAS)</t>" ," VAS\open.sqf" , " " , 0 , true , true , " " , " _this == player" ];
191+ _x addaction [" <t color='#ff0066'>Armory 2 (VA)</t>" ," bisArsenal.sqf" , " " , 0 , true , true , " " , " _this == player" ]; } forEach (Array_of_FOBS);
192+ lbSetColor [2103 , 5 , [0 , 1 , 0 , 1 ]];};
188193 " commandpointsblu1" addPublicVariableEventHandler {ctrlSetText [1000 , format [" %1" ,commandpointsblu1]];}; // change the shown CP for request dialog
189194
190195 // each time there is a new FOB
0 commit comments