Author Topic: Hide Killer mod  (Read 534 times)

Alright, so you guys know about the Hide kills server mod? Well, I was at an RP the other day, long story short, me and somebody else blasted a bunch of unarmed civilians in one room in a roleplay where you get banned for a little while if you die, to be realistic.

Now, I wanted to do something similar, but in order to make sure people aren't able to know who killed who, I wanted something like the HideKill mod, except, instead of hiding the kill message, it shows who died, but not who killed them. That way, we can do things like murder investigations, without anybody knowing who the killer was, but we know that people are dying.

interesting proposal. this would be quite useful.

the quick and dirty way:

package hide_killer
{
   function gameConnection::onDeath( %this, %a, %b, %c, %d, %e )
   {
      parent::onDeath( %this, -1, -1, %c, %d, %e );
   }
};

activatePackage( "hide_killer" );


this will break any add-on which relies on knowing who killed who
and people won't get points for killing other people
as i said, "quick and dirty"

the quick and dirty way:

package hide_killer
{
   function gameConnection::onDeath( %this, %a, %b, %c, %d, %e )
   {
      parent::onDeath( %this, -1, -1, %c, %d, %e );
   }
};

activatePackage( "hide_killer" );


this will break any add-on which relies on knowing who killed who
and people won't get points for killing other people
as i said, "quick and dirty"
package it please?


Heres spaceguys if ya want it:

No i need to read op!
« Last Edit: December 30, 2012, 09:02:00 PM by Alt »