1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-29 16:40:24 -05:00

tweak for showing the generated graph color properly in other browsers.

apparently the "style" hack doesn't work, but using "title" does
remove return in customcallbacks
This commit is contained in:
RaidMax
2019-08-18 11:20:19 -05:00
parent efdc3fa5bc
commit 22e00dafee
3 changed files with 3 additions and 4 deletions

View File

@ -4,7 +4,6 @@
init()
{
return;
SetDvarIfUninitialized( "sv_customcallbacks", true );
SetDvarIfUninitialized( "sv_framewaittime", 0.05 );
SetDvarIfUninitialized( "sv_additionalwaittime", 0.05 );
@ -173,7 +172,7 @@ Process_Hit( type, attacker, sHitLoc, sMeansOfDeath, iDamage, sWeapon )
location = victim GetTagOrigin( hitLocationToBone( sHitLoc ) );
isKillstreakKill = !isPlayer( attacker ) || isKillstreakWeapon( sWeapon );
logLine = "Script" + type + ";" + _attacker.guid + ";" + victim.guid + ";" + _attacker GetTagOrigin("tag_eye") + ";" + location + ";" + iDamage + ";" + sWeapon + ";" + sHitLoc + ";" + sMeansOfDeath + ";" + _attacker getPlayerAngles() + ";" + gettime() + ";" + isKillstreakKill + ";" + _attacker playerADS() + ";" + 0 + ";" + 0;
logLine = "Script" + type + ";" + _attacker.guid + ";" + victim.guid + ";" + _attacker GetTagOrigin("tag_eye") + ";" + location + ";" + iDamage + ";" + sWeapon + ";" + sHitLoc + ";" + sMeansOfDeath + ";" + _attacker getPlayerAngles() + ";" + gettime() + ";" + isKillstreakKill + ";" + _attacker playerADS() + ";0;0;";
attacker thread waitForAdditionalAngles( logLine );
}