Files
DayZ-Epoch/SQF/dayz_code/groups/leave.sqf
ebayShopper 6736cd92ff Update group tags again
Also fixed wrong string name "STR_EPOCH_RADIO_CONTACT_LOST" thanks @oiad
2017-02-24 14:11:55 -05:00

17 lines
471 B
Plaintext

private "_group";
_group = units group player;
if (count _group == 1 or (!scriptDone dayz_groupLeaveThread)) exitWith {};
dayz_groupLeft = nil;
PVDZ_Server_UpdateGroup = [3,player];
publicVariableServer "PVDZ_Server_UpdateGroup";
dayz_groupLeaveThread = [] spawn {
//Wait for response from server to confirm group finished updating in DB
waitUntil {!isNil "dayz_groupLeft"};
[player] joinSilent grpNull;
terminate dayz_groupTags;
80000 cutText ["","PLAIN"];
};