function KillPop( %killer, %victim, %damage ) { if ( %killer != getManagerId() ) return; remoteBP( 2048, "You killed " ~ String::escapeFormatting( Client::getName( %victim ) ) ~ "\nWeapon: " ~ %damage, 3 ); localSound(gotcha); } function TeamKillPop( %killer, %victim, %damage ) { if ( %killer != getManagerId() ) return; remoteBP( 2048, "You TEAMKILLED " ~ String::escapeFormatting( Client::getName( %victim ) ), 3 ); localSound(gotcha); } Event::Attach( eventClientKilled, KillPop ); Event::Attach( eventClientTeamKilled, TeamKillPop );