ItsMods

Full Version: Name of killer/dead person
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Anyone know how to get the name of the person that killed you/you killed?

Thanks Heart
You can find it in callbacksetup.gsc

Code:
/*================
Called when a player has been killed.
self is the player that was killed.
================*/
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
{
    self endon("disconnect");
    
    [[level.callbackPlayerKilled]](eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration);
}
Very much appreciated!
Nvm...