when player killed(??????)

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

Post Reply
User avatar
IrishStorm
CJ Newbie
CJ Newbie
Posts: 96
Joined: January 8th, 2009, 3:48 am
Location: Ireland
Contact:

when player killed(??????)

Post by IrishStorm » May 26th, 2009, 1:14 am

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
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||

User avatar
IrishStorm
CJ Newbie
CJ Newbie
Posts: 96
Joined: January 8th, 2009, 3:48 am
Location: Ireland
Contact:

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

Post by IrishStorm » May 26th, 2009, 11:38 am

its ok i got it working
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests