Page 1 of 1

when player killed(??????)

Posted: May 26th, 2009, 1:14 am
by IrishStorm
i'm wanting to print a massage when someone is kill there name ans the attckers name this is what i have but its not working
iprintlnbold(attacker + " ^2killed^7" + self.name);
i put this is
_globallogic at Callback_PlayerKilled()

// send out an obituary message to all clients about the kill
if( level.teamBased && isDefined( attacker.pers ) && self.team == attacker.team && sMeansOfDeath == "MOD_GRENADE" && level.friendlyfire == 0 )
obituary(self, self, sWeapon, sMeansOfDeath);
else
obituary(self, attacker, sWeapon, sMeansOfDeath);

iprintlnbold(attacker + " ^2killed^7" + self.name);

// self maps\mp\gametypes\_weapons::updateWeaponUsageStats();
if ( !level.inGracePeriod )
any help would be good

Re: when player killed(??????)

Posted: May 26th, 2009, 11:38 am
by IrishStorm
its ok i got it working