I believe it is working. I need a tester though, as I cannot host for some reason :/
I would port forward, but I need to look at all the router information and stuff before I can do that.
I will also post the script right here, just in case someone finds something wrong about it.
EDIT: Yellow hurts eyes and is hard to see, changing to blue.
//Author: Katadeus, though all credit should go to Space Guy for actually doing everything.
package LifeSteal
{
function GameConnection::onDeath(%this,%sourceObject,%sourceClient,%damageType,%damageArea)
{
if(%this.LifeStealMode = 1)
{
%killer.tdmlives = %killer.tdmlives + 1;
}
Parent::onDeath(%this,%sourceObject,%sourceClient,%damageType,%damageArea);
}
};
activatePackage(LifeSteal);
function servercmdLifeStealOn(%client, %this)
{
if(%client.SuperAdmin)
{
%this.LifeStealMode = 1;
}
}
function servercmdLifeStealOff(%client, %this)
{
if(%client.SuperAdmin)
{
%this.LifeStealMode = 0;
}
}