Update groups, add player name on group message

This commit is contained in:
A Man
2020-05-13 16:12:31 +02:00
parent 11ac55acd6
commit 396d0313b3
8 changed files with 68 additions and 64 deletions

View File

@@ -20,7 +20,7 @@ if (_hasInvite) exitWith {
systemChat localize "STR_EPOCH_INVITE_PENDING";
};
_invite = [getPlayerUID player,_uid];
_invite = [getPlayerUID player,_uid,toArray(name player)];
//Update locally with change
dayz_activeInvites set [count dayz_activeInvites,_invite];
@@ -29,4 +29,4 @@ 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];