mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-30 00:50:25 -05:00
Fixed non player killstreak kills counting as suicide
(custom callbacks) RCON tweaks to hopefully prevent RCON flooding Stats reimp added IW4x extra weapons
This commit is contained in:
@ -13,9 +13,10 @@ init()
|
||||
Callback_PlayerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration )
|
||||
{
|
||||
victim = self;
|
||||
_attacker = attacker;
|
||||
if (!isDefined(attacker) || !isPlayer(attacker))
|
||||
attacker = victim;
|
||||
_attacker = victim;
|
||||
|
||||
logPrint("ScriptKill;" + attacker.guid + ";" + victim.guid + ";" + attacker.origin + ";" + victim.origin + ";" + iDamage + ";" + sWeapon + ";" + sHitLoc + ";" + sMeansOfDeath + "\n");
|
||||
logPrint("ScriptKill;" + _attacker.guid + ";" + victim.guid + ";" + _attacker.origin + ";" + victim.origin + ";" + iDamage + ";" + sWeapon + ";" + sHitLoc + ";" + sMeansOfDeath + "\n");
|
||||
self maps\mp\gametypes\_damage::Callback_PlayerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration );
|
||||
}
|
Reference in New Issue
Block a user