diff --git a/addons/spectator/functions/fnc_start.sqf b/addons/spectator/functions/fnc_start.sqf index 90ed140..2fd5ede 100644 --- a/addons/spectator/functions/fnc_start.sqf +++ b/addons/spectator/functions/fnc_start.sqf @@ -38,6 +38,10 @@ private _whitelistedSides = switch _sides do { case 1: {[playerSide]}; // All sides spectator case 2: {[WEST, INDEPENDENT, EAST]}; + // Player group only + case 3: {[group player]}; + // Player only + case 4: {[player]}; default {playerSide call BIS_fnc_friendlySides}; }; diff --git a/addons/spectator/initSettings.inc.sqf b/addons/spectator/initSettings.inc.sqf index cc9b6cd..b5a442a 100644 --- a/addons/spectator/initSettings.inc.sqf +++ b/addons/spectator/initSettings.inc.sqf @@ -32,7 +32,7 @@ "LIST", [LSTRING(Sides), LSTRING(Sides_Description)], LSTRING(DisplayName), - [[0, 1, 2], [LSTRING(Friendly), LSTRING(Own), "str_all_voices"], 0], + [[0, 1, 3, 4, 2], [LSTRING(Friendly), LSTRING(Own), LSTRING(PlayerGroup), "str_player", "str_all_voices"], 0], 1, {[_this] call FUNC(restart)} ] call CBA_fnc_addSetting; @@ -42,7 +42,7 @@ "LIST", [LSTRING(Sides), LSTRING(Sides_Description)], [LSTRING(DisplayName), LSTRING(Unconscious)], - [[0, 1, 2], [LSTRING(Friendly), LSTRING(Own), "str_all_voices"], 0], + [[0, 1, 3, 4, 2], [LSTRING(Friendly), LSTRING(Own), LSTRING(PlayerGroup), "str_player", "str_all_voices"], 0], 1, {[_this] call FUNC(restart)} ] call CBA_fnc_addSetting; diff --git a/addons/spectator/stringtable.xml b/addons/spectator/stringtable.xml index ff2d9a3..7656cbb 100644 --- a/addons/spectator/stringtable.xml +++ b/addons/spectator/stringtable.xml @@ -49,6 +49,10 @@ Player side Strona gracza + + Player group + Grupa gracza + Allow civilian spectating Pozwól obserwować cywili