mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Remove self from saved group
This commit is contained in:
@@ -5,8 +5,9 @@ if (count (units group player) > 1) then {
|
|||||||
[player] joinSilent grpNull;
|
[player] joinSilent grpNull;
|
||||||
};
|
};
|
||||||
|
|
||||||
_savedGroup = PVCDZ_plr_Login select 10;
|
_savedGroup = (PVCDZ_plr_Login select 10) - [getPlayerUID player];
|
||||||
if (count _savedGroup > 1 && {!dayz_requireRadio or {dayz_requireRadio && "ItemRadio" in items player}}) then {
|
|
||||||
|
if (count _savedGroup > 0 && {!dayz_requireRadio or {dayz_requireRadio && "ItemRadio" in items player}}) then {
|
||||||
{
|
{
|
||||||
//Only auto join player into group if leader is in their savedGroup
|
//Only auto join player into group if leader is in their savedGroup
|
||||||
_leader = leader _x;
|
_leader = leader _x;
|
||||||
|
|||||||
Reference in New Issue
Block a user