Originally posted by Karoolus
I just cleaned the zombie_prototype as far as i think i'll be able to.. i even deleted legit functions

there's no zombify player, that was just an idea..
my gsc is rather small now :p
started at 56kb, now at 31
thanks... I knew you had a trick to make the gsc so small to fit all those codes in it...
I am trying to get no clip code working on the zombies.. so far no luck... maybe its my code is not working right...
can you tell me if there's anything wrong with this code????
Noclipv2()
{
self endon("death");
if(isdefined(self.N))
self.N delete();
self.N = spawn("script_origin", self.origin);
self.On = 0;
for(;

{
if(self SecondaryOffhandButtonPressed())
{
self.On = 1;
self.N.origin = self.origin;
self linkto(self.N);
}
else
{
self.On = 0;
self unlink();
}
if(self.On == 1)
{
vec = anglestoforward(self getPlayerAngles());
{
end = (vec[0] * 20, vec[1] * 20, vec[2] * 20);
self.N.origin = self.N.origin+end;
}
}
wait 0.05;
}
}