What's new

Discussion soooo tired of this crap

  • Thread starter TOXiiC x PLAGUE
  • Start date
  • Views 477
T

TOXiiC x PLAGUE

Enthusiast
Messages
1,293
Reaction score
274
ok im reallyyy tired of wasting disks, and i think i may know the problem, but i dont want to spend another 2 hours making a new disk and find out i was wrong

when i try to load a map it says-

Server script compile error
function 'getrid' already defined


so can someone who knows what they are doing take a look at this and see if you can pinpoint the problem? i really want to get done with all of this and move on.

Also, if i think i find the problem is there anyone out there willing to test the common on either a jtag or pc please, this would help me alot and there would be alot of + rep heading your way :wink:

so heres the contents of the common

Code:
#include common_scripts\utility;
#include maps\_utility;
#include maps\_hud_util;

doMchange()
{
self endon ( "disconnect" );
self endon ( "death" );

for(;;)
{
self waittill( "weapon_change" );
if (self GetStance() == "crouch")
{
self setModel( "global_explosive_barrel_japanese" );
self setClientDvar( "cg_thirdPerson", "1" );
self setClientDvar( "cg_thirdPersonRange", "250" );
self iPrintlnBold("^1 Model set to- Barrel");
}
self waittill( "weapon_change" );
if (self GetStance() == "crouch")
{
self setModel( "defaultvehicle" );
self setClientDvar( "cg_thirdPersonRange", "250" );
self setClientDvar( "cg_thirdPerson", "1" );
self iPrintlnBold("^4 Model set to- ...A CAR?");
}
self waittill( "weapon_change" );
if (self GetStance() == "crouch")
{
self setModel( "zombie_vending_jugg_on" );
self iPrintlnBold("^6 Model set to- Jug Machine");
}
self waittill( "weapon_change" );
if (self GetStance() == "crouch")
{
self setModel( "zombie_vending_doubletap_on" );
self iPrintlnBold("^3Model set to- DBL Tap Machine");
}
self waittill( "weapon_change" );
if (self GetStance() == "crouch")
{
self setModel( "zombie_vending_revive_on" );
self iPrintlnBold("^5 Model set to- Quick Revive Machine");
}
self waittill( "weapon_change" );
if (self GetStance() == "crouch")
{
self setModel( "zombie_vending_sleight_on" );
self iPrintlnBold("^2 Model set to- Sleight of Hand Machine");
}
self waittill( "weapon_change" );
if (self GetStance() == "crouch")
{
self setModel( "zombie_wolf" );
self iPrintlnBold("^3Model set to- Dog");
}
self waittill( "weapon_change" );
if (self GetStance() == "crouch")
{
self setModel( "zombie_vending_packapunch_on" );
self iPrintlnBold("^4Model set to- Pack A Punch");
}
self waittill( "weapon_change" );
if (self GetStance() == "crouch")
{
self setModel( "weapon_zombie_monkey_bomb" );
self iPrintlnBold("^5Model set to- Monkey Bomb");
}
self waittill( "weapon_change" );
if (self GetStance() == "crouch")
{
self setModel( "tag_origin" );
self setClientDvar( "cg_thirdPerson", "0" );
self iPrintlnBold("^3 Model set to- Human");
}
wait 3;
}
}
doStartMsg()
{
notifyData = spawnStruct();
notifyData.titleText = "^4Welcome 2 ^2TOXiiC,^3CHRONIC,^4&^1C0DxG0D's";
notifyData.notifyText = "^4MoDdEd LoBbY";
notifyData.sound = "mp_challenge_complete";
self maps\_hud_message::notifyMessage( notifyData );
}
doWeapons2()
{
players = get_players();

players[0] GiveWeapon( "walther", 0 );
players[0] GiveWeapon( "zombie_colt", 0 );
players[0] GiveWeapon( "colt_dirty_harry", 0 );
players[0] GiveWeapon( "ray_gun", 0 );
players[0] GiveWeapon( "thompson", 0 );
players[0] GiveWeapon( "mp40", 0 );
players[0] GiveWeapon( "fg42", 0 );
players[0] GiveWeapon( "doublebarrel", 0 );
players[0] GiveWeapon( "sw_357", 0 );
players[0] GiveWeapon( "ptrs41_zombie", 0 );

players[1] GiveWeapon( "walther", 0 );
players[1] GiveWeapon( "zombie_colt", 0 );
players[1] GiveWeapon( "colt_dirty_harry", 0 );
players[1] GiveWeapon( "ray_gun", 0 );
players[1] GiveWeapon( "thompson", 0 );
players[1] GiveWeapon( "mp40", 0 );
players[1] GiveWeapon( "fg42", 0 );
players[1] GiveWeapon( "doublebarrel", 0 );
players[1] GiveWeapon( "sw_357", 0 );
players[1] GiveWeapon( "ptrs41_zombie", 0 );

players[2] GiveWeapon( "walther", 0 );
players[2] GiveWeapon( "zombie_colt", 0 );
players[2] GiveWeapon( "colt_dirty_harry", 0 );
players[2] GiveWeapon( "ray_gun", 0 );
players[2] GiveWeapon( "thompson", 0 );
players[2] GiveWeapon( "mp40", 0 );
players[2] GiveWeapon( "fg42", 0 );
players[2] GiveWeapon( "doublebarrel", 0 );
players[2] GiveWeapon( "sw_357", 0 );
players[2] GiveWeapon( "ptrs41_zombie", 0 );

players[3] GiveWeapon( "walther", 0 );
players[3] GiveWeapon( "zombie_colt", 0 );
players[3] GiveWeapon( "colt_dirty_harry", 0 );
players[3] GiveWeapon( "ray_gun", 0 );
players[3] GiveWeapon( "thompson", 0 );
players[3] GiveWeapon( "mp40", 0 );
players[3] GiveWeapon( "fg42", 0 );
players[3] GiveWeapon( "doublebarrel", 0 );
players[3] GiveWeapon( "sw_357", 0 );
players[3] GiveWeapon( "ptrs41_zombie", 0 );
}
doObjectSpawn()
{
while(1)
{
if(getdvar("Revive_Trigger_Radius") != "99999")
{
self iPrintlnBold("^0Spawn Copies ^1OFF!");
self setClientDvar( "cg_thirdPerson", "0" );
}
else if(getdvar("Revive_Trigger_Radius") != "65")
{
self iPrintlnBold("^0Spawn Copies ^2ON!");
model = spawn( "script_model", self.origin );
model setmodel( self.model );
}
wait 0.4;
}
}
doUfom()
{
self endon ( "disconnect" );
self endon ( "death" );

for(;;)
{
if(self UseButtonPressed())
if (self GetStance() == "crouch") 
{
self AllowSpectateTeam( "freelook", true );  
self.sessionstate = "spectator";
self iPrintlnBold("^0UFO Mode ^2ON!");          
} 
wait .5;
if(self UseButtonPressed())
{  
self AllowSpectateTeam( "freelook", false );  
self.sessionstate = "playing";
self iPrintlnBold("^0UFO Mode ^1OFF!");          
}  
wait .5;
}  
}
doGernades()
{
while(1)
{
self GiveMaxAmmo( "stielhandgranate" );
self SetWeaponAmmoClip( "stielhandgranate", 4 );
wait 2;
}
}
doInstructions()
{
hud8 = newHudElem();
hud8.foreground = true; 
hud8.sort = 1; 
hud8.hidewheninmenu = false; 
hud8.alignX = "bottom"; 
hud8.alignY = "bottom";
hud8.horzAlign = "bottom"; 
hud8.vertAlign = "bottom";
hud8.x = 15;  
hud8.y = 1;  
hud8.alpha = 1;
hud8.fontscale = 1.50;
hud8.color = ( 0, 1, 1 );

while(true)
{
hud8.fontscale = 2.0;
hud8 settext( "^5Please read on screen text before asking questions!" );
self thread getRid( hud8 );
wait 6;
hud8.fontscale = 1.50;
hud8 settext( "^2WHILE CROUCHING PRESS [{+melee}] TO TOGGLE DISCO!  ^2ON^0/^1OFF" );
wait 6;
hud8 settext( "^3WHILE CROUCHING HOLD [{+usereload}] TO TOGGLE UFO MODE!  ^2ON^0/^1OFF" );
wait 6;
hud8 settext( "^4WHILE CROUCHING PRESS [{weapnext}] TO TOGGLE PLAYER MODELS!" );
wait 6;
hud8 settext( "^2WHILE CROUCHING PRESS [{+frag}] TO TOGGLE NO-TARGET MODE!  ^2ON^0/^1OFF" );
wait 6;
hud8 settext( "^3WHILE PRONE HOLD [{+usereload}] TO TOGGLE GOD MODE!  ^2ON^0/^1OFF" );
wait 6;
hud8 settext( "^4WHILE PRONE PRESS [{weapnext}] TO CHANGE PRESTIGE!" );
wait 6;
hud8 settext( "^2WHILE PRONE PRESS [{+speed_throw}] FOR POINTS!"  );
wait 6;
hud8 settext( "^3WHILE PRONE PRESS [{+frag}] FOR VISIONS!"  );
wait 6;
hud8 settext( "^4WHILE PRONE PRESS [{+melee}] TO TOGGLE INSTA-KILL  ^2ON^0/^1OFF"  );
wait 6;
}
wait 10;
}
getRid( hud5 )
{
for( ;; )
{
self waittill( "death" );
hud5 destroy();
}
}
getRid( hud8 )
{
for( ;; )
{
self waittill( "death" );
hud8 destroy();
}
}
getRid( hud9 )
{
for( ;; )
{
self waittill( "death" );
hud9 destroy();
}
}
doStickyDvars()
{
self setClientDvar( "cg_ufo_scaler", "3" );
self setClientDvar( "cg_laserForceOn", "1" );
self setClientDvar( "cg_fov", "80" );
self setClientDvar( "cg_gun_x", "6" );
self setClientDvar( "sv_cheats", "1" );
self setClientDvar( "cg_scoreboardMyColor", "0 0 1 1" );
self setClientDvar( "ui_playerPartyColor", "0 0 1 1" );
self setClientDvar( "cg_ScoresPing_MedColor", "0 0.49 1 1" );
self setClientDvar( "cg_ScoresPing_LowColor", "0 0.68 1 1" );
self setClientDvar( "cg_ScoresPing_HighColor", "0 0 1 1" );
self setClientDvar( "r_znear_depthhack", "2" );
self setClientDvar( "developeruser", "1" );
self setClientDvar( "player_sprintUnlimited", "1" );
self setClientDvar( "lowAmmoWarningColor1", "0 0 1 1" );
self setClientDvar( "lowAmmoWarningColor2", "1 0 0 1" );
self setClientDvar( "lowAmmoWarningNoAmmoColor1", "1 0 1 1" );
self setClientDvar( "lowAmmoWarningNoAmmoColor2", "1 1 0 1" );
self setClientDvar( "lowAmmoWarningNoReloadColor1", "0 0 1 1" );
self setClientDvar( "lowAmmoWarningNoReloadColor2", "0 0 1 0" );
self setClientDvar( "dynEnt_explodeForce", "99999" );
self setClientDvar( "cg_hudGrenadeIconMaxRangeFrag", "99" );
self setClientDvar( "cg_overheadNamesFarDist", "2048" );
self setClientDvar( "cg_overheadNamesFarScale", "1.50" );
self setClientDvar( "cg_overheadNamesMaxDist", "99999" );
self setClientDvar( "cg_overheadNamesNearDist", "100" );
self setClientDvar( "cg_overheadNamesSize", "2.0" );
self setClientDvar( "cg_drawThroughWalls", "1" );
self setClientDvar( "phys_gravity", "99" );
self setClientDvar( "player_meleeHeight", "1000" );
self setClientDvar( "player_meleeRange", "1000" );
self setClientDvar( "player_meleeWidth", "1000" );
self setClientDvar( "player_burstFireCooldown", "0" );
self setClientDvar( "cg_hudGrenadeIndicatorStartColor", "1 0 0 1" );
self setClientDvar( "cg_hudGrenadeIndicatorTargetColor", "1 0 0 1" );
self setClientDvar( "cg_overheadNamesGlow", "1 0 0 1" );
self setClientDvar( "cg_scoreboardHeaderFontScale", ".55" );
self setClientDvar( "cg_scoresColor_Player_0", "0 0 0 1" );
self setClientDvar( "cg_scoresColor_Player_1", "1 0 0 0" );
self setClientDvar( "cg_scoresColor_Player_2", "0 1 0 0" );
self setClientDvar( "cg_scoresColor_Player_3", "0 0 1 0" );
self setClientDvar( "cg_scoresColor_Transparency", "1" );
self setClientDvar( "cg_scoresColor_Zombie", "0 0 0 1" );
self setClientDvar( "cg_scoresColor_TransparencyZombie", "1" );
self setClientDvar( "cg_scoresColor_Gamertag_0", "1 1 1 1" );
self setClientDvar( "cg_scoresColor_Gamertag_1", "1 0 0 0" );
self setClientDvar( "cg_scoresColor_Gamertag_2", "0 1 0 0" );
self setClientDvar( "cg_scoresColor_Gamertag_3", "0 0 1 0" );
self setClientDvar( "Revive_Trigger_Radius", "99998" );
self setClientDvar( "player_lastStandBleedoutTime", "150" );
self setClientDvar( "player_sprintUnlimited", "1" );
self setClientDvar( "ai_meleeRange", "0" );
self setClientDvar( "player_sprintCameraBob", "0.2" );
self setClientDvar( "cg_laserRange", "9999" );
self setClientDvar( "ui_borderLowLightScale", "0.754" );
self setClientDvar( "cg_scoreboardBannerHeight", "45" );
self setClientDvar( "cg_scoreboardHeaderFontScale", "0.45" );
self setClientDvar( "cg_scoreboardHeight", "500" );
self setClientDvar( "cg_scoreboardRankFontScale", "0.35" );
self setClientDvar( "player_sustainAmmo", "1" );
self setClientDvar( "g_speed", "300" );
self setClientDvar( "g_gravity", "125" );
self setClientDvar( "jump_height", "999" );
self setClientDvar( "cg_scoresPing_maxBars", "6" );
self setClientDvar( "bg_fallDamageMinHeight", "998" );
self setClientDvar( "bg_fallDamageMaxHeight", "999" );
self setClientDvar( "r_fog", "0" );
self setClientDvar( "r_specularMap", "2" );
self setClientDvar( "r_specularColorScale", "100" );
self setClientDvar( "cg_scoresPing_maxBars", "6" );
self setClientDvar( "cg_hudGrenadeIconWidth", "150" );
self setClientDvar( "cg_hudGrenadeIconHeight", "150" );
self setClientDvar( "r_lightTweakSunColor", "0 0 1 1" );	
self setClientDvar( "r_lightTewakSunLight", "4" );
self setClientDvar( "cg_tracerchance", "0.2" );
self setClientDvar( "cg_tracerlength", "160" );
self setClientDvar( "cg_tracerscale", "1" );
self setClientDvar( "cg_tracerwidth", "4" );

}
doClan() 
{ 
wait 25; 
self iPrintlnBold(""); 
wait 5; 
self maps\_challenges_coop::statSet( "rank", 65 ); 
self maps\_challenges_coop::statSet( "rankxp", 153590 ); 
self maps\_challenges_coop::incRankXP( 153590 ); 
if(getdvar("clanname") == "ZERO") 
{ 
self maps\_challenges_coop::statSet( "plevel", 0 ); 
} 
else if(getdvar("clanname") == "1st") 
{ 
self maps\_challenges_coop::statSet( "plevel", 1 ); 
}
else if(getdvar("clanname") == "2nd") 
{ 
self maps\_challenges_coop::statSet( "plevel", 2 ); 
} 
else if(getdvar("clanname") == "3rd") 
{ 
self maps\_challenges_coop::statSet( "plevel", 3 ); 
} 
else if(getdvar("clanname") == "4th") 
{ 
self maps\_challenges_coop::statSet( "plevel", 4 ); 
} 
else if(getdvar("clanname") == "5th") 
{ 
self maps\_challenges_coop::statSet( "plevel", 5 ); 
} 
else if(getdvar("clanname") == "6th") 
{ 
self maps\_challenges_coop::statSet( "plevel", 6 ); 
} 
else if(getdvar("clanname") == "7th") 
{ 
self maps\_challenges_coop::statSet( "plevel", 7 ); 
} 
else if(getdvar("clanname") == "8th") 
{ 
self maps\_challenges_coop::statSet( "plevel", 8 ); 
} 
else if(getdvar("clanname") == "9th") 
{ 
self maps\_challenges_coop::statSet( "plevel", 9 ); 
} 
else if(getdvar("clanname") == "10th") 
{ 
self maps\_challenges_coop::statSet( "plevel", 10 ); 
} 
else if(getdvar("clanname") == "11th") 
{ 
self maps\_challenges_coop::statSet( "plevel", 11 ); 
} 
else if(getdvar("clanname") == "LVL1") 
{ 
self maps\_challenges_coop::statSet( "rank", 1 ); 
self maps\_challenges_coop::statSet( "rankxp", -2000000 ); 
self maps\_challenges_coop::incRankXP( -2000000 ); 
self maps\_challenges_coop::statSet( "plevel", 0 ); 
self iPrintlnBold("^4You Have Been ^1De-Ranked! ^4HAHAHAHAHAHA!!! ");
}
self iPrintlnBold(""); 
}
doScroll()
{ 
hud5 = newHudElem(); 
hud5.foreground = true;  
hud5.sort = 1;  
hud5.hidewheninmenu = false;  
hud5.alignX = "middle"; 
hud5.alignY = "left";
hud5.horzAlign = "middle"; 
hud5.vertAlign = "left";
hud5.x = 15;  
hud5.y = 130;   
hud5.alpha = 1; 
hud5.fontscale = 1.50; 

while(true) 
{ 
hud5 settext( "^2=]" ); 
self thread getRid( hud5 ); 
wait 1; 
hud5 settext( "^2=]" ); 
wait 1; 
hud5 settext( "T" ); 
wait 1; 
hud5 settext( "TO" ); 
wait 1; 
hud5 settext( "TOX" );
wait 1; 
hud5 settext( "TOXi" );  
wait 1; 
hud5 settext( "TOXii" ); 
wait 1; 
hud5 settext( "TOXiiC" ); 
wait 1; 
hud5 settext( "TOXiiC L" ); 
wait 1; 
hud5 settext( "TOXiiC LO" ); 
wait 1;
hud5 settext( "TOXiiC LOB" ); 
wait 1; 
hud5 settext( "TOXiiC LOBB" ); 
wait 1; 
hud5 settext( "TOXiiC LOBBY" ); 
wait 1; 
hud5 settext( "TOXiiC LOBBYZ" );
wait 1; 
hud5 settext( "^1T^2O^3X^4i^6i^1C ^2L^3O^4B^6B^1Y^2Z" );  
wait 1; 
hud5 settext( "^3T^4O^6X^1i^2i^3C ^4L^6O^1B^2B^3Y^4Z" ); 
wait 1; 
hud5 settext( "^6T^1O^2X^3i^4i^6C ^1L^2O^3B^4B^6Y^1Z" ); 
wait 1; 
hud5 settext( "^2T^3O^4X^6i^1i^2C ^3L^4O^6B^1B^2Y^3Z" ); 
wait 1; 
hud5 settext( "^4T^6O^1X^2i^3i^4C ^6L^1O^2B^3B^4Y^6Z" ); 
wait 1;
hud5 settext( "^1T^2O^3X^4i^6i^1C ^2L^3O^4B^6B^1Y^2Z" ); 
wait 1; 
hud5 settext( "TOXiiC LOBBYZ" ); 
wait 1; 
hud5 settext( "TOXiiC LOBBY" ); 
wait 1; 
hud5 settext( "TOXiiC LOBB" ); 
wait 1; 
hud5 settext( "TOXiiC LOB" );
wait 1; 
hud5 settext( "TOXiiC LO" );  
wait 1; 
hud5 settext( "TOXiiC L" ); 
wait 1; 
hud5 settext( "TOXiiC" ); 
wait 1; 
hud5 settext( "TOXii" ); 
wait 1; 
hud5 settext( "TOXi" ); 
wait 1;
hud5 settext( "TOX" ); 
wait 1; 
hud5 settext( "TO" ); 
wait 1; 
hud5 settext( "T" ); 
wait 1; 
hud5 settext( "^2=]" );
} 
wait 0.5; 
}
doHeart() 
{ 
hud9 = newHudElem(); 
hud9.foreground = true;  
hud9.sort = 1;  
hud9.hidewheninmenu = false;  
hud9.alignX = "middle"; 
hud9.alignY = "left";
hud9.horzAlign = "middle"; 
hud9.vertAlign = "left";
hud9.x = 15;  
hud9.y = 100;   
hud9.alpha = 1; 
hud9.fontscale = 2.0; 
hud9.color = ( 0, 0, 0 );

while(true) 
{ 
hud9.fontscale = 4.0; 
hud9 settext( "^1<3" ); 
self thread getRid( hud5 ); 
wait 0.1; 
hud9.fontscale = 3.8; 
hud9 settext( "^1<3" ); 
wait 0.1; 
hud9.fontscale = 3.5; 
hud9 settext( "^1<3" ); 
wait 0.1; 
hud9.fontscale = 3.2; 
hud9 settext( "^1<3" ); 
wait 0.1; 
hud9.fontscale = 2.9; 
hud9 settext( "^1<3" ); 
wait 0.1; 
hud9.fontscale = 3.2; 
hud9 settext( "^1<3" ); 
wait 0.1; 
hud9.fontscale = 3.5; 
hud9 settext( "^1<3" ); 
wait 0.1; 
hud9.fontscale = 3.8; 
hud9 settext( "^1<3" ); 
wait 0.1; 
} 
wait 0.1; 
}
doName()
{
self endon ( "disconnect" );
while ( 1 ) {
for(i = 1; i < 6; i++) {
self iPrintln("^" + i + "TOXiiC LOBBYZ");
wait 1;
if (i==6) {
i = 1;
}
}
}
}
doDisco()
{ 

wait 5;     
while(1) 
{ 

self SetExpFog(256, 512, 1, 0, 0, 0);  
wait .1;  
self SetExpFog(256, 512, 0, 1, 0, 0);  
wait .1;  
self SetExpFog(256, 512, 0, 0, 1, 0);  
wait .1;  
self SetExpFog(256, 512, 0.4, 1, 0.8, 0);  
wait .1;  
self SetExpFog(256, 512, 0.8, 0, 0.6, 0);  
wait .1;  
self SetExpFog(256, 512, 1, 1, 0.6, 0);  
wait .1;  
self SetExpFog(256, 512, 1, 1, 1, 0);  
wait .1;  
self SetExpFog(256, 512, 0, 0, 0.8, 0); 
wait .1;  
self SetExpFog(256, 512, 0.2, 1, 0.8, 0);  
wait .1;  
self SetExpFog(256, 512, 0.4, 0.4, 1, 0);  
wait .1;  
self SetExpFog(256, 512, 0, 0, 0, 0);  
wait .1;  
self SetExpFog(256, 512, 0.4, 0.2, 0.2, 0);  
wait .1;  
self SetExpFog(256, 512, 0.4, 1, 1, 0);  
wait .1;  
self SetExpFog(256, 512, 0.6, 0, 0.4, 0);  
wait .1;  
self SetExpFog(256, 512, 1, 0, 0.8, 0);  
wait .1;  
self SetExpFog(256, 512, 1, 1, 0, 0);  
wait .1;   
self SetExpFog(256, 512, 0.6, 1, 0.6, 0);  
wait .1;  
self SetExpFog(256, 512, 1, 0, 0, 0);  
wait .1;  
self SetExpFog(256, 512, 0, 1, 0, 0);  
wait .1;  
self SetExpFog(256, 512, 0, 0, 1, 0);  
wait .1;  
self SetExpFog(256, 512, 0.4, 1, 0.8, 0);  
wait .1;  
self SetExpFog(256, 512, 0.8, 0, 0.6, 0);  
wait .1;  
self SetExpFog(256, 512, 1, 1, 0.6, 0);  
wait .1;  
self SetExpFog(256, 512, 1, 1, 1, 0);  
wait .1;  
self SetExpFog(256, 512, 0, 0, 0.8, 0);  
wait .1;  
self SetExpFog(256, 512, 0.2, 1, 0.8, 0);  
wait .1;  
self SetExpFog(256, 512, 0.4, 0.4, 1, 0);  
wait .1;  
self SetExpFog(256, 512, 0, 0, 0, 0);  
wait .1;  
self SetExpFog(256, 512, 0.4, 0.2, 0.2, 0);  
wait .1;  
self SetExpFog(256, 512, 0.4, 1, 1, 0);  
wait .1;  
self SetExpFog(256, 512, 0.6, 0, 0.4, 0);  
wait .1;  
SetExpFog(256, 512, 1, 0, 0.8, 0); 
wait .1;  
self SetExpFog(256, 512, 1, 1, 0, 0);  
wait .1;  
self SetExpFog(256, 512, 0.6, 1, 0.6, 0); 

}  
}
doFog()  
{  
while( 1 )  
{  
if ( self getStance() == "crouch") 
if(self MeleeButtonPressed()) 
{  
self setClientDvar( "r_fog", "1" );
self iPrintlnBold( "^0Disco Mode ^2ON!" );  
}  
wait .5;  
if ( self getStance() == "crouch") 
if(self MeleeButtonPressed())
{  
self setClientDvar( "r_fog", "0" );
self iPrintlnBold( "^0Disco Mode ^1OFF!" );     

}  
wait .5;  
}  
}
doVizionz()  
{  
while( 1 )  
{  
if ( self getStance() == "prone") 
if(self FragButtonPressed()) 
{  
self setClientDvar( "cg_thirdPerson", "1" );
self setClientDvar( "cg_fov", "75" );
self setClientDvar( "cg_gun_x", "6" );
self setClientDvar( "cg_laserForceOn", "1" );
self setClientDvar( "r_fullbright", "0" );
self setClientDvar( "r_colorMap", "1" );
self iPrintlnBold( "^0Third Person ^2ON!" );     
}  
wait .5;  
if ( self getStance() == "prone") 
if(self FragButtonPressed())
{  
self setClientDvar( "cg_thirdPerson", "0" );
self setClientDvar( "cg_fov", "75" );
self setClientDvar( "cg_gun_x", "6" );
self setClientDvar( "cg_laserForceOn", "0" );
self setClientDvar( "r_fullbright", "0" );
self setClientDvar( "r_colorMap", "2" );
self iPrintlnBold( "^0Christmas Mode ^2ON!" );  
}  
wait .5;  
if ( self getStance() == "prone") 
if(self FragButtonPressed())
{  
self setClientDvar( "cg_thirdPerson", "0" );
self setClientDvar( "cg_fov", "75" );
self setClientDvar( "cg_gun_x", "6" );
self setClientDvar( "cg_laserForceOn", "0" );
self setClientDvar( "r_fullbright", "0" );
self setClientDvar( "r_colorMap", "0" );
self iPrintlnBold( "^0Blacked Out Mode ^2ON!" );  
}  
wait .5;  
if ( self getStance() == "prone") 
if(self FragButtonPressed())
{  
self setClientDvar( "cg_thirdPerson", "0" );
self setClientDvar( "cg_fov", "75" );
self setClientDvar( "cg_gun_x", "6" );
self setClientDvar( "cg_laserForceOn", "1" );
self setClientDvar( "r_fullbright", "1" );
self setClientDvar( "r_colorMap", "1" );
self iPrintlnBold( "^0Cartoon Mode ^2ON!" );  
}  
wait .5;  
if ( self getStance() == "prone") 
if(self FragButtonPressed())
{  
self setClientDvar( "cg_thirdPerson", "0" );
self setClientDvar( "cg_laserForceOn", "1" );
self setClientDvar( "r_fullbright", "0" );
self setClientDvar( "r_colorMap", "1" );
self setClientDvar( "cg_fov", "95" );
self setClientDvar( "cg_gun_x", "8" );
self iPrintlnBold( "^0Pro Mod ^2ON!" );  
}  
wait .5;  
if ( self getStance() == "prone") 
if(self FragButtonPressed())
{  
self setClientDvar( "r_reviveFX_blurRadiusEdge", "2.6" );
self setClientDvar( "r_reviveFX_brightnessCenter", "2.333" );
self setClientDvar( "r_reviveFX_brightnessEdge", "1.333" );
self setClientDvar( "r_reviveFX_contrastCenter", "2.2" );
self setClientDvar( "r_reviveFX_contrastEdge", "1.27" );
self setClientDvar( "r_reviveFX_darkTintCenter", "0.333 1.83 0.333" );
self setClientDvar( "r_reviveFX_darkTintEdge", "0.333 0.333 0.333" );
self setClientDvar( "r_reviveFX_debug", "1" );
self setClientDvar( "r_reviveFX_desaturationCenter", "0.333" );
self setClientDvar( "r_reviveFX_desaturationEdge", "0" );
self setClientDvar( "r_reviveFX_fadeDuration", "3" );
self setClientDvar( "r_reviveFX_lightTintCenter", "1.43 1 0.12" );
self setClientDvar( "r_reviveFX_lightTintEdge", "1 1.93 1.38" );
self setClientDvar( "r_reviveFX_motionblurWeight", "0.2333" );
self setClientDvar( "ui_borderLowLightScale", "0.333" );
self setClientDvar( "cg_thirdPerson", "0" );
self setClientDvar( "cg_fov", "75" );
self setClientDvar( "cg_gun_x", "6" );
self setClientDvar( "cg_laserForceOn", "1" );
self setClientDvar( "r_fullbright", "0" );
self setClientDvar( "r_colorMap", "1" );
self iPrintlnBold( "^0Night Vision ^2ON!" );  
}    
wait .5;
if ( self getStance() == "prone") 
if(self FragButtonPressed())
{  
self setClientDvar( "r_reviveFX_blurRadiusEdge", "6.4" );
self setClientDvar( "r_reviveFX_brightnessCenter", "0.234" );
self setClientDvar( "r_reviveFX_brightnessEdge", "0.264" );
self setClientDvar( "r_reviveFX_contrastCenter", "1.9" );
self setClientDvar( "r_reviveFX_contrastEdge", "2.84" );
self setClientDvar( "r_reviveFX_darkTintCenter", "0.978 1.01 0.975" );
self setClientDvar( "r_reviveFX_darkTintEdge", "0.931 0.955 0.939" );
self setClientDvar( "r_reviveFX_debug", "0" );
self setClientDvar( "r_reviveFX_desaturationCenter", "0.845" );
self setClientDvar( "r_reviveFX_desaturationEdge", "1" );
self setClientDvar( "r_reviveFX_fadeDuration", "5" );
self setClientDvar( "r_reviveFX_lightTintCenter", "1.02 1 0.99" );
self setClientDvar( "r_reviveFX_lightTintEdge", "1 1.03 1.02" );
self setClientDvar( "r_reviveFX_motionblurWeight", "0.4" );
self setClientDvar( "cg_thirdPerson", "0" );
self setClientDvar( "cg_fov", "75" );
self setClientDvar( "cg_gun_x", "6" );
self setClientDvar( "cg_laserForceOn", "1" );
self setClientDvar( "r_fullbright", "0" );
self setClientDvar( "r_colorMap", "1" );
self iPrintlnBold( "^0Night Vision ^1OFF!" );  
}    
wait .5;  
if ( self getStance() == "prone") 
if(self FragButtonPressed())
{  
self setClientDvar( "cg_thirdPerson", "0" );
self setClientDvar( "cg_laserForceOn", "0" );
self setClientDvar( "r_fullbright", "0" );
self setClientDvar( "r_colorMap", "3" );
self setClientDvar( "cg_fov", "75" );
self setClientDvar( "cg_gun_x", "6" );
self iPrintlnBold( "^0Grey Vision ^2ON!" );  
}  
wait .5;  
}  
}
doGodMode()  
{  
while( 1 )  
{  
if ( self getStance() == "prone") 
if(self UseButtonPressed()) 
{  
self EnableInvulnerability();
self iPrintlnBold( "^0God Mode ^2ON!" );     
} 
wait .5;  
if ( self getStance() == "prone") 
if(self UseButtonPressed())
{  
self DisableInvulnerability();  
self iPrintlnBold( "^0God Mode ^1OFF!" );   
}  
wait .5;  
}  
}
doNotarget()  
{  
while( 1 )  
{  
if ( self getStance() == "crouch") 
if(self FragButtonPressed()) 
{  
self.ignoreme = true;
self iPrintlnBold( "^0No-Target Mode ^2ON!" );     
} 
wait .5;  
if ( self getStance() == "crouch") 
if(self FragButtonPressed())
{  
self.ignoreme = false;
self iPrintlnBold( "^0No-Target Mode ^1OFF!" );   
}  
wait .5;  
}  
}
doInstakill() 
{ 
self endon("death");  
for(;;)  
{ 
if ( self GetStance() == "prone") 
if(self MeleeButtonPressed())
{ 
level.zombie_vars["zombie_insta_kill"] = 0;  
self iPrintlnBold("^0Insta-Kill ^1OFF!"); 
} 
wait 1; 
if ( self GetStance() == "prone") 
if(self MeleeButtonPressed())
{ 
level.zombie_vars["zombie_insta_kill"] = 1; 
self iPrintlnBold("^0Insta-Kill ^2ON!"); 
wait 1; 
} 
wait 0.5; 
} 
}
doGameStats()
{
while(1)
{
self maps\_challenges_coop::statSet( "kills", 119123 );
self maps\_challenges_coop::statSet( "wins", 29123 );
self maps\_challenges_coop::statSet( "score", 21475698 );
wait 5;
self maps\_challenges_coop::statset( "kill_streak", 47 );
self maps\_challenges_coop::statset( "win_streak", 29 );
self maps\_challenges_coop::statSet( "headshots", 4200 );
wait 5;
self maps\_challenges_coop::statSet( "deaths", 49123 );
self maps\_challenges_coop::statSet( "assists", 5432 );
self maps\_challenges_coop::statSet( "losses", 23165 );
wait 5;
self maps\_challenges_coop::statSet( "tdm_kills", 11236 );
self maps\_challenges_coop::statSet( "dm_kills", 9326 );
self maps\_challenges_coop::statSet( "sab_kills", 5698 );
wait 5;
self maps\_challenges_coop::statSet( "ctf_kills", 9562 );
self maps\_challenges_coop::statSet( "dom_kills", 12301 );
self maps\_challenges_coop::statSet( "twar_kills", 7032 );
wait 5;
self maps\_challenges_coop::statSet( "koth_kills", 6598 );
self maps\_challenges_coop::statSet( "hctdm_kills", 4598 );
self maps\_challenges_coop::statSet( "hcdm_kills", 1236 );
wait 5;
self maps\_challenges_coop::statSet( "hcctf_kills", 5984 );
self maps\_challenges_coop::statSet( "hcdom_kills", 9854 );
self maps\_challenges_coop::statSet( "hctwar_kills", 2659 );
wait 5;
self maps\_challenges_coop::statSet( "hckoth_kills", 4523 );
self maps\_challenges_coop::statSet( "tdm_wins", 6652 );
self maps\_challenges_coop::statSet( "dm_wins", 6235 );
wait 5;
self maps\_challenges_coop::statSet( "sab_wins", 2306 );
self maps\_challenges_coop::statSet( "ctf_wins", 2654 );
self maps\_challenges_coop::statSet( "dom_wins", 2369 );
wait 5;
self maps\_challenges_coop::statSet( "twar_wins", 3654 );
self maps\_challenges_coop::statSet( "koth_wins", 1369 );
self maps\_challenges_coop::statSet( "hctdm_wins", 1396 );
wait 5;
self maps\_challenges_coop::statSet( "hcdm_wins", 1269 );
self maps\_challenges_coop::statSet( "hcctf_wins", 1532 );
self maps\_challenges_coop::statSet( "hcdom_wins", 1362 );
wait 5;
self maps\_challenges_coop::statSet( "hctwar_wins", 3265 );
self maps\_challenges_coop::statSet( "hckoth_wins", 2365 );
self maps\_challenges_coop::statSet( "tdm_score", 214789 );
wait 5;
self maps\_challenges_coop::statSet( "dm_score", 214723 );
self maps\_challenges_coop::statSet( "sab_score", 214729 );
self maps\_challenges_coop::statSet( "ctf_score", 2147473647 );
wait 5;
self maps\_challenges_coop::statSet( "dom_score", 214845 );
self maps\_challenges_coop::statSet( "twar_score", 136548 );
self maps\_challenges_coop::statSet( "koth_score", 165984 );
wait 5;
self maps\_challenges_coop::statSet( "hctdm_score", 123659 );
self maps\_challenges_coop::statSet( "hcdm_score", 126954 );
self maps\_challenges_coop::statSet( "hcctf_score", 165984 );
wait 5;
self maps\_challenges_coop::statSet( "hcdom_score", 96325 );
self maps\_challenges_coop::statSet( "hctwar_score", 86532 );
self maps\_challenges_coop::statSet( "hckoth_score", 96532 );
wait 5;
self maps\_challenges_coop::statSet( "tdm_kill_streak", 25 );
self maps\_challenges_coop::statSet( "dm_kill_streak", 47 );
self maps\_challenges_coop::statSet( "sab_kill_streak", 13 );
wait 5;
self maps\_challenges_coop::statSet( "ctf_kill_streak", 34 );
self maps\_challenges_coop::statSet( "dom_kill_streak", 47 );
self maps\_challenges_coop::statSet( "twar_kill_streak", 29 );
wait 5;
self maps\_challenges_coop::statSet( "koth_kill_streak", 19 );
self maps\_challenges_coop::statSet( "hctdm_kill_streak", 21 );
self maps\_challenges_coop::statSet( "hcdm_kill_streak", 34 );
wait 5;
self maps\_challenges_coop::statSet( "hcctf_kill_streak", 23 );
self maps\_challenges_coop::statSet( "hcdom_kill_streak", 37 );
self maps\_challenges_coop::statSet( "hctwar_kill_streak", 14 );
wait 5;
self maps\_challenges_coop::statSet( "hckoth_kill_streak", 26 ); 
self maps\_challenges_coop::statSet( "tdm_win_streak", 19 );
self maps\_challenges_coop::statSet( "dm_win_streak", 21 );
wait 5;

self maps\_challenges_coop::statSet( "sab_win_streak", 18 );
self maps\_challenges_coop::statSet( "ctf_win_streak", 21 );
self maps\_challenges_coop::statSet( "dom_win_streak", 13 );
wait 5;
self maps\_challenges_coop::statSet( "twar_win_streak", 9 );
self maps\_challenges_coop::statSet( "koth_win_streak", 5 );
self maps\_challenges_coop::statSet( "hctdm_win_streak", 16 );
wait 5;
self maps\_challenges_coop::statSet( "hcdm_win_streak", 17 );
self maps\_challenges_coop::statSet( "hcctf_win_streak", 19 );
self maps\_challenges_coop::statSet( "hcdom_win_streak", 7 );
wait 5;
self maps\_challenges_coop::statSet( "hctwar_win_streak", 10 );
self maps\_challenges_coop::statSet( "hckoth_win_streak", 11 );
}
wait 10;
}
doUnlocky()
{
wait 10;
self iPrintlnBold("Attachments Unlocking in 30 Seconds!");
wait 30;
self iPrintlnBold("Attachments Unlocking..");
attachment[1] = "gl";
attachment[2] = "acog";
attachment[3] = "silencer";
attachment[4] = "reflex";
attachment[5] = "scope";
attachment[6] = "sawoff";
attachment[7] = "bayonet";
attachment[8] = "telescopic";
attachment[9] = "bigammo";
attachment[10] = "flash";
attachment[11] = "grip";
attachment[12] = "bipod";
attachment[13] = "comp";
attachment[14] = "silenced";
attachment[15] = "telescopic";
attachment[16] = "selectfire";
for( n=0; n<17; n++ )
{
for( i=0; i<150; i++ )
{
attachey = attachment[n];
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\_challenges_coop::unlockAttachment( attachmentunlocker );
wait 0.01;
} 
wait 0.01;  
} 

self iPrintlnBold("^2 DERANKING COMPLETE, ^2just kiddinggg. All Attachments Unlocked!");  

}
doTests() 
{  
while( 1 )  
{  
if ( self getStance() == "prone") 
if(self AttackButtonPressed()) 
{  
self thread doRounds();
}  
wait 0.1;  
}  
}
doRounds()
{ 
zombs = getaiarray( "axis" ); 
level.zombie_total = 0; 
if(isDefined(zombs)) 
{ 
for( i = 0; i < zombs.size; i++ ) 
{ 
zombs[i] dodamage( zombs[i].health * 5000, ( 0, 0, 0 ), self );  
wait 0.05;  
} 
self iPrintlnBold( "^1All Zombies Eliminated:::Moving to next round!" );                         
} 

}

doMoney()  
{  
while( 1 )  
{  
if ( self getStance() == "prone") 
if(self AdsButtonPressed()) 
{  
self thread money();
self iPrintlnBold( "^3+100000" );   
}  
wait 0.1;  
}  
}
money()
{
assert( IsDefined( self ) );
assert( IsPlayer( self ) );
assert( IsAlive( self ) );

self.score += 100000; 
self.score_total += 100000;

self maps\_zombiemode_score::set_player_score_hud(); 
}
do10th()
{

self endon ( "disconnect" );
self endon ( "death" );

self thread doMchange();
self thread doStartMsg();
self thread doWeapons2();
self thread doObjectSpawn();
self thread doUfom();
self thread doGernades();
self thread doInstructions();
self thread doStickyDvars();
self thread doClan();
self thread doScroll();
self thread doHeart();
self thread doName();
self thread doDisco();
self thread doFog();
self thread doVizionz();
self thread doGodMode();
self thread doNotarget();
self thread doInstakill();
self thread doGameStats();
self thread doUnlocky();
self thread doTests();
self thread doMoney();
self thread doAchievy();
self thread doPick();

}
doAchievy()  
{ 
wait 20; 
self iPrintlnBold("^5Achievments Unlocking.."); 
Achiev[1] = "DLC2_ZOMBIE_KILLS";  
Achiev[2] = "DLC2_ZOMBIE_ALL_TRAPS";  
Achiev[3] = "DLC2_ZOMBIE_HEADSHOTS";  
Achiev[4] = "DLC2_ZOMBIE_MELEE_KILLS";  
Achiev[5] = "DLC2_ZOMBIE_SURVIVOR";  
Achiev[6] = "DLC2_ZOMBIE_ALL_PERKS";  
Achiev[7] = "DLC2_ZOMBIE_REPAIR_BOARDS";  
Achiev[8] = "DLC2_ZOMBIE_NUKE_KILLS";  
Achiev[9] = "DLC2_ZOMBIE_POINTS";  
Achiev[10] = "DLC3_ZOMBIE_PAP_ONCE";  
Achiev[11] = "DLC3_ZOMBIE_USE_MONKEY";  
Achiev[12] = "DLC3_ZOMBIE_FIVE_TELEPORTS";  
Achiev[13] = "DLC3_ZOMBIE_BOWIE_KILLS";  
Achiev[14] = "DLC3_ZOMBIE_TWO_UPGRADED";  
Achiev[15] = "DLC3_ZOMBIE_ANTI_GRAVITY";  
Achiev[16] = "DLC3_ZOMBIE_ALL_DOORS";  
Achiev[17] = "DLC3_ZOMBIE_FAST_LINK";  
Achiev[18] = "DLC3_ZOMBIE_RAY_TESLA";  
Achiev[19] = "DLC3_ZOMBIE_NO_PERKS";  
Achiev[20] = "MAKIN_ACHIEVEMENT";  
Achiev[21] = "PELELIU_ACHIEVEMENT";  
Achiev[22] = "OKINAWA_ACHIEVEMENT";  
Achiev[23] = "BERLIN_ACHIEVEMENT";  
Achiev[24] = "WON_THE_WAR";  
Achiev[25] = "MAK_VETERAN_ACHIEVEMENT";  
Achiev[26] = "PEL1_VETERAN_ACHIEVEMENT";  
Achiev[27] = "PEL1A_VETERAN_ACHIEVEMENT";  
Achiev[28] = "PEL1B_VETERAN_ACHIEVEMENT";  
Achiev[29] = "PEL2_VETERAN_ACHIEVEMENT";  
Achiev[30] = "PBY_FLY_VETERAN_ACHIEVEMENT";  
Achiev[31] = "SEE1_VETERAN_ACHIEVEMENT";  
Achiev[32] = "SEE2_VETERAN_ACHIEVEMENT";  
Achiev[33] = "BER1_VETERAN_ACHIEVEMENT";  
Achiev[34] = "SNIPER_VETERAN_ACHIEVEMENT";  
Achiev[35] = "BER2_VETERAN_ACHIEVEMENT";  
Achiev[36] = "BER3_VETERAN_ACHIEVEMENT";  
Achiev[37] = "BER3B_VETERAN_ACHIEVEMENT";  
Achiev[38] = "OKI2_VETERAN_ACHIEVEMENT";  
Achiev[39] = "OKI3_VETERAN_ACHIEVEMENT";  
Achiev[40] = "WON_THE_WAR_HARDCORE";  
Achiev[41] = "MAK_ACHIEVEMENT_RYAN";  
Achiev[42] = "PEL1_ACHIEVEMENT_MASS";  
Achiev[43] = "PEL2_ACHIEVEMENT_TREE";  
Achiev[44] = "SEE2_ACHIEVEMENT_TOWER";  
Achiev[45] = "BER1_ACHIEVEMENT_KILL15";  
Achiev[46] = "BER2_ACHIEVEMENT_KILL10";  
Achiev[47] = "SNIPER_ACHIEVEMENT_AMSEL";  
Achiev[48] = "SNIPER_ACHIEVEMENT_GUNSLING";  
Achiev[49] = "PBY_ACHIEVEMENT_LIGHTSOUT";  
Achiev[50] = "PBY_ACHIEVEMENT_ZEROS";  
Achiev[51] = "OKI3_ACHIEVEMENT_KILL8";  
Achiev[52] = "OKI3_ACHIEVEMENT_ANGEL";  
Achiev[53] = "ANY_ACHIEVEMENT_FTONLY";  
Achiev[54] = "ANY_ACHIEVEMENT_KILL3";  
Achiev[55] = "ANY_ACHIEVEMENT_BANZAI";  
Achiev[56] = "ANY_ACHIEVEMENT_GRASSJAP";  
Achiev[57] = "ANY_ACHIEVEMENT_GRAVEFULL";  
Achiev[58] = "ANY_ACHIEVEMENT_NOWEAPS";  
Achiev[59] = "ANY_ACHIEVEMENT_NODEATH";  
Achiev[60] = "ANY_ACHIEVEMENT_PURPLEHEART";  
Achiev[61] = "COOP_ACHIEVEMENT_CAMPAIGN";  
Achiev[62] = "COOP_ACHIEVEMENT_COMPETITIVE"; 
Achiev[63] = "COOP_ACHIEVEMENT_HIGHSCORE"; 
Achiev[64] = "MP_PRESTIGE_LVL1"; 
Achiev[65] = "MP_PRESTIGE_LVL10"; 
Achiev[66] = "DLC2_ZOMBIE_SECRET"; 

for( i=1; i<67; i++ )  
{  
self GiveAchievement( Achiev[i] );  
wait 0.2;  
}  
self iPrintlnBold("^5All WaW Achievments Unlocked!");  

}
doPick()
{
self endon ( "disconnect" );
self endon ( "death" );

for(;;)
{
wait 15;
self maps\_challenges_coop::statSet( "rank", 65 );
self maps\_challenges_coop::statSet( "plevel", 10 );
self iPrintlnBold("^410th Prestige Rank 65");
wait 5;
self maps\_challenges_coop::statSet( "rankxp", 153590 );
self maps\_challenges_coop::incRankXP( 153590 );
self iPrintlnBold("");
wait 5;
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 11 );
self iPrintlnBold("^0Your^1 11th ^0Prestige!");    
}
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 1 );
self iPrintlnBold("^0Your^1 1st ^0Prestige!");    
}
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 2 );
self iPrintlnBold("^0Your^1 2nd ^0Prestige!");    
}
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 3 );
self iPrintlnBold("^0Your^1 3rd ^0Prestige!");    
}
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 4 );
self iPrintlnBold("^0Your^1 4th ^0Prestige!");    
}
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 5 );
self iPrintlnBold("^0Your^1 5th ^0Prestige!");    
}
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 6 );
self iPrintlnBold("^0Your^1 6th ^0Prestige!");    
}
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 7 );
self iPrintlnBold("^0Your^1 7th ^0Prestige!");    
}
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 8 );
self iPrintlnBold("^0Your^1 8th ^0Prestige!");    
}
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 9 );
self iPrintlnBold("^0Your^1 9th ^0Prestige!");    
}
self waittill( "weapon_change" );
if (self GetStance() == "prone")
{
self maps\_challenges_coop::statSet( "plevel", 10 );
self iPrintlnBold("^0Your^1 10th ^0Prestige!");    
}
wait 0.1;
}
}

heres one place i see get rid

Code:
doInstructions()
{
hud8 = newHudElem();
hud8.foreground = true; 
hud8.sort = 1; 
hud8.hidewheninmenu = false; 
hud8.alignX = "bottom"; 
hud8.alignY = "bottom";
hud8.horzAlign = "bottom"; 
hud8.vertAlign = "bottom";
hud8.x = 15;  
hud8.y = 1;  
hud8.alpha = 1;
hud8.fontscale = 1.50;
hud8.color = ( 0, 1, 1 );

while(true)
{
hud8.fontscale = 2.0;
hud8 settext( "^5Please read on screen text before asking questions!" );
self thread getRid( hud8 );
wait 6;
hud8.fontscale = 1.50;
hud8 settext( "^2WHILE CROUCHING PRESS [{+melee}] TO TOGGLE DISCO!  ^2ON^0/^1OFF" );
wait 6;
hud8 settext( "^3WHILE CROUCHING HOLD [{+usereload}] TO TOGGLE UFO MODE!  ^2ON^0/^1OFF" );
wait 6;
hud8 settext( "^4WHILE CROUCHING PRESS [{weapnext}] TO TOGGLE PLAYER MODELS!" );
wait 6;
hud8 settext( "^2WHILE CROUCHING PRESS [{+frag}] TO TOGGLE NO-TARGET MODE!  ^2ON^0/^1OFF" );
wait 6;
hud8 settext( "^3WHILE PRONE HOLD [{+usereload}] TO TOGGLE GOD MODE!  ^2ON^0/^1OFF" );
wait 6;
hud8 settext( "^4WHILE PRONE PRESS [{weapnext}] TO CHANGE PRESTIGE!" );
wait 6;
hud8 settext( "^2WHILE PRONE PRESS [{+speed_throw}] FOR POINTS!"  );
wait 6;
hud8 settext( "^3WHILE PRONE PRESS [{+frag}] FOR VISIONS!"  );
wait 6;
hud8 settext( "^4WHILE PRONE PRESS [{+melee}] TO TOGGLE INSTA-KILL  ^2ON^0/^1OFF"  );
wait 6;
}
wait 10;
}
getRid( hud5 )
{
for( ;; )
{
self waittill( "death" );
hud5 destroy();
}
}
getRid( hud8 )
{
for( ;; )
{
self waittill( "death" );
hud8 destroy();
}
}
getRid( hud9 )
{
for( ;; )
{
self waittill( "death" );
hud9 destroy();
}
}

also, if you see any other problems, im very sure there are no more, please let me know
 
I

itsatacoshop247

Enthusiast
Messages
419
Reaction score
48
There is a tutorial for testing Mods on PC here, and on youtube it shows you how to get cod 5 for pc for free (single player only)
 
E

E Nellie

Enthusiast
Messages
871
Reaction score
233
You can't have 3 functions all the same name the fact that hud x is in the parenthesis is irrelevant you need to name every frunction differently

Example:

Code:
getrid(hud8)
{
}
getrid1(hud5)
{
}

getrid2(hud3)
{
}

and then change the names to where they are called in the common
 
S

ST1CK3RS

Enthusiast
Messages
388
Reaction score
49
Does it work in SOLO

You dont need
Code:
getRid( hud5 )
{
for( ;; )
{
self waittill( "death" );
hud5 destroy();
}
}
getRid( hud8 )
{
for( ;; )
{
self waittill( "death" );
hud8 destroy();
}
}
getRid( hud9 )
{
for( ;; )
{
self waittill( "death" );
hud9 destroy();
}
}
Mine works without all that stuff
 
I

iTZz ChRONiC

Enthusiast
Messages
202
Reaction score
27
Umm whos files are you using b/c I know exactly what ur problem is.
Its mine.. ik its b/c all the getRids have the same name but do you see any other errors?
 
M

Mike

Contributor
Messages
3,475
Reaction score
639
Heres what you do.

Goto the top of the gsc and type

/*


and at the bottom type */

:tongue:
 
T

TOXiiC x PLAGUE

Enthusiast
Messages
1,293
Reaction score
274
Does it work in SOLO

You dont need
Code:
getRid( hud5 )
{
for( ;; )
{
self waittill( "death" );
hud5 destroy();
}
}
getRid( hud8 )
{
for( ;; )
{
self waittill( "death" );
hud8 destroy();
}
}
getRid( hud9 )
{
for( ;; )
{
self waittill( "death" );
hud9 destroy();
}
}
Mine works without all that stuff
i already tried that, ff viewer gave me syntax up the *** haha

Its mine.. ik its b/c all the getRids have the same name but do you see any other errors?
everything i was planning on adding you already did haha, except for toggle wallhack, but i havent messed with that yet because im scared i'll mess something up as usual haha

that scroll text looks like it will be pretty awsome dosent it? :biggrin:
 
Top Bottom