1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

implement team tracking via game interface (EFClient.Team and EFClient.TeamName)

This commit is contained in:
RaidMax
2022-03-12 13:38:33 -06:00
parent 70254187e8
commit bc76afd25c
7 changed files with 82 additions and 4 deletions

View File

@ -713,6 +713,11 @@ namespace IW4MAdmin
await E.Owner.ExecuteCommandAsync(E.Data);
}
}
else if (E.Type == GameEvent.EventType.JoinTeam)
{
E.Origin.UpdateTeam(E.Extra as string);
}
lock (ChatHistory)
{