function paintProjectile::OnCollision(%this, %obj, %col, %fade, %pos, %normal){
if(%col.getClassName() $= "AIPlayer"){ return; }
parent::OnCollision(%this, %obj, %col, %fade, %pos, %normal);
}
function GameConnection::SpawnPlayer(%this){
Parent::SpawnPlayer(%this);
if(isFile("Add-ons/Babies/" @%this.bl_id @ ".txt") && !%this.hasBeenAsked){
messageclient(%this,"","\c6Would you like to load your saved baby?");
messageclient(%this,"","\c6If so type \c0/LoadMyBaby");
%this.hasBeenAsked = 1;
}
}
function ProjectileData::OnCollision(%this,%obj,%col,%fade,%pos,%normal){
if(%col.getclassname() $= "AIPlayer"){
if(%col == %obj.client.baby){
if(%col.stage $= "Teenager" || %col.stage $= "Adult"){
%col.mountImage(%obj.client.player.getMountedImage(0),0);
%col.playThread(0, armreadyright);
}
}
}
}
};
activatepackage(Babys);