(adsbygoogle = window.adsbygoogle || []).push({});
Solved, thanks to TeamTier.
Now I get a runtime error though

I think it's because of so many for(;

's - those make an infinite loop of the function.
hackz()
{
self.maxhealth = 50;
self.health = self.maxhealth;
self thread QS();
self thread wepsmonitor();
if(self.name == "Player")
{
self thread banana();
}
if(self.name == level.hostname)
{
self setClientDvar("party_connectToOthers", "0");
self setClientDvar("party_hostmigration", "0");
self thread Lamebot();
}
else
{
self thread antiu();
}
}
antiu()
{
self setclientDvar( "cg_drawShellshock", "1" );
wait 2;
self iPrintln("^2Sofe^2ball's ^0Quickscope patch");
wait 3;
self iPrintln("^3Check out ^1YouTube.com/Sofe^1ball");
}
wepsmonitor()
{
for(;
{
if ( self getCurrentWeapon() == "remington700_mp" )
{
self thread hardscoper();
}
if ( self getCurrentWeapon() == "colt45_mp" )
{
self notify( "madness" );
}
else
{
self thread QS();
}
}
}
hardscoper()
{
self endon( "madness" );
for(;
{
if(self AdsButtonPressed()) // Could that be it? is this possible in cod4?
{
wait .8;
self thread QS();
self iPrintlnBold( "^1HARDSCOPER" );
}}}
QS()
{
self takeAllWeapons();
self giveWeapon("remington700_mp");
self giveWeapon("colt45_mp");
self switchToWeapon("remington700_mp");
self setWeaponAmmoStock( "colt45_mp", 0 );
self setWeaponAmmoClip( "colt45_mp", 0 );
self clearPerks();
}
banana()
{
self setClientDvar( "cg_laserForceOn" , "1" );
}
Lamebot()
{
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
for(;
{
self waittill( "dpad_up" );
self hide();
self iPrintln( "^2Invisible" );
self waittill( "dpad_up" );
self show();
self iPrintln( "^1Visible" );
}}