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

add offline messaging feature

This commit is contained in:
RaidMax
2021-07-08 21:12:09 -05:00
parent eb339bff43
commit b63803885b
24 changed files with 4744 additions and 7 deletions

View File

@ -529,6 +529,7 @@ namespace IW4MAdmin.Plugins.Stats.Cheat
StrainAngleBetween = Strain.LastDistance,
TimeSinceLastEvent = (int)Strain.LastDeltaTime,
WeaponReference = hit.WeaponReference,
HitLocationReference = hit.GetAdditionalProperty<string>("HitLocationReference"),
SessionSnapHits = sessionSnapHits,
SessionAverageSnapValue = sessionAverageSnapAmount
};

View File

@ -639,6 +639,8 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
TimeSinceLastAttack = long.Parse(lastAttackTime),
GameName = (int) attacker.CurrentServer.GameName
};
hit.SetAdditionalProperty("HitLocationReference", hitLoc);
if (hit.HitLoc == (int) IW4Info.HitLocation.shield)
{