Fix group tags startup

This commit is contained in:
ebayShopper
2017-02-23 17:04:30 -05:00
parent 0e4e762bf2
commit e1340821e7
2 changed files with 7 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ private ["_leader","_oldGroup","_savedGroup"];
uiSleep 1;
if (count (units group player) > 1) then {
[player] joinSilent grpNull;
diag_log "Clearing group";
};
_savedGroup = (PVCDZ_plr_Login select 10) - [getPlayerUID player];
@@ -42,7 +43,7 @@ dayz_promotePlayer = compile preprocessFileLineNumbers "\z\addons\dayz_code\grou
dayz_rejectGroup = compile preprocessFileLineNumbers "\z\addons\dayz_code\groups\reject.sqf";
dayz_groupInit = true;
if (count (units group player) > 1) then {
if (!isNil "PVDZ_Server_UpdateGroup") then {
dayz_groupTags = execVM "\z\addons\dayz_code\groups\groupTags.sqf";
};

View File

@@ -27,4 +27,8 @@ dayz_activeInvites set [count dayz_activeInvites,_invite];
PVDZ_groupInvite = [true,_invite];
publicVariableServer "PVDZ_groupInvite";
systemChat format[localize "STR_EPOCH_INVITE_TO",name _recipient];
systemChat format[localize "STR_EPOCH_INVITE_TO",name _recipient];
if (isNil "dayz_groupTags" or {scriptDone "dayz_groupTags"}) then {
dayz_groupTags = execVM "\z\addons\dayz_code\groups\groupTags.sqf";
};