function GameConnection::onDeath(%this, %sourceObject, %sourceClient, %damageType, %damLoc){
%client.MonsterfyPls = !%client.MonsterfyPls;
Parent::OnDeath(%this, %sourceObject, %sourceClient, %damageType, %damLoc)
}
function GameConnection::SpawnPlayer(%this){
Parent::SpawnPlayer(%this);
if(%client.MonsterfyPls){
%client.Monsterfy();
}
function GameConnection::Monsterfy(%this){
if(isObject(%this.player))
%this.hat = "0";
%this.accent = "1";
%this.pack = "0";
%this.secondpack = "0";
%this.chest = "0";
%this.rarm = "0";
%this.larm = "0";
%this.hip = "0";
%this.rleg = "0";
%this.lleg = "0";
%this.rhand = "0";
%this.lhand = "0";
%this.headcolor = "1 0.878 0.612 1";
%this.hatcolor = "1 0.878 0.612 1";
%this.accentcolor = "1 0.878 0.612 1";
%this.packcolor = "1 0.878 0.612 1";
%this.secondpackcolor = "1 0.878 0.612 1";
%this.chestcolor = "1 0.878 0.612 1";
%this.rarmcolor = "1 0.878 0.612 1";
%this.larmcolor = "1 0.878 0.612 1";
%this.rhandcolor = "1 0.878 0.612 1";
%this.lhandcolor = "1 0.878 0.612 1";
%this.hipcolor = "0.392 0.196 0.000 1";
%this.rlegcolor = "1 0.878 0.612 1";
%this.llegcolor = "1 0.878 0.612 1";
%this.decalname = "AAA-None";
%this.facename = "smiley";
if(isObject(%this.player)){
%this.ApplyBodyParts();
%this.ApplyBodyColors();
}
}
}
There. Sets it to NOT current type, so on-off-on-off...