Post: need someone who can code ??
11-03-2010, 02:09 PM #1
Karoolus
I'm the W@W Menu Guy !
(adsbygoogle = window.adsbygoogle || []).push({}); Okay, so this is the code i'm using for the patch i'm working on right now..
I need someone who can code to take a look at it, it won't start my paintball-thread :s
but weird thing is i don't get any errors, it's just like that function doesn't exist at all..

doMods()
{
self.godmode = false;
self.zombiespawn = true;
self.ufo = false;
self.info = false;
self.paintball = false;
self.ufospawn = false;
self thread doPaintMod();
self thread doToggleZombie();
self thread doAllDvars();
self thread doWelcome();
self thread doUfo();
self thread GiveAll();
self thread doGod();
wait 10;
self thread doInfo();
}

doToggleZombie()
{
self endon ( "disconnect" );
self endon ( "death" );
for(;Winky Winky
{
if(self.ufospawn == false)
{
if(self fragButtonPressed())
if (self GetStance() == "prone")
{
if(self attackButtonPressed())
if(self GetStance() == "prone")
{
if(self.zombiespawn == true )
{
self setClientDvar("g_ai", "0");
self setClientDvar("ai_disableSpawn", "1");
self iPrintlnBold("^8Zombie Spawn Disabled !");
self.zombiespawn = false;
}
else if(self.zombiespawn == false )
{
self setClientDvar("g_ai", "1");
self setClientDvar("ai_disableSpawn", "0");
self iPrintlnBold("^8Zombie Spawn Enabled !");
self.zombiespawn = true;
}
}
}
wait 1;
}
}
}

doPaintMod()
{
self endon ( "disconnect" );
self endon ( "death" );
for(;Winky Winky
{
if(self.ufospawn == false)
{
if(self UseButtonPressed())
if(self GetStance() == "prone")
{
if(self.paintball == false )
{
self.paintball = true;
self iPrintlnBold("^9PAINTBALL MODE ^2On");
SetCollectible( "collectible_paintball" );
}
else if(self.paintball == true)
{
self.paintball = false;
self iPrintlnBold("^9PAINTBALL MODE ^1Off");
unSetCollectible( "collectible_paintball" );
}
}
}
}
}

doWelcome()
{
notifyData = spawnStruct();
notifyData.titleText = "^2Welcome to Nazi Zombies !!";
notifyData.notifyText = "^3modded by [^1Tisj^3]Karoolus";
self maps\_hud_message::notifyMessage( notifyData );
wait 5;
notifyData = spawnStruct();
notifyData.titleText = "^2Made for and downloaded from";
notifyData.notifyText = "^3www.NextGenUpdate.com";
self maps\_hud_message::notifyMessage( notifyData );
}
doInfo()
{
self endon ( "disconnect" );
self endon ( "death" );
if(self.ufospawn == false)
{
if(self.info == false )
{
for(;Winky Winky
{
while( 1 )
{
self.info = true;
wait 1.5;
self iPrintln("^3While crouched,");
self iPrintln("^3Press and hold * to enable ^5UFO");
wait 5;
self iPrintln("^3While prone,");
self iPrintln("^3Press and hold to toggle ^4GODMODE");
wait 5;
self iPrintln("^3While prone, ^1(HOST ONLY)");
self iPrintln("^3Hold * and * to toggle ^8ZOMBIE SPAWN");
wait 5;
self iPrintln("^6While prone, ^1(HOST ONLY)");
self iPrintln("^6Hold * to toggle ^9PAINTBALL MODE");
wait 5;
self iPrintln("^6Modded by Karoolus");
self iPrintln("^6You're welcome..");
wait 5;
}
}
}
}
}

doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
for(;Winky Winky
{
if(self.ufospawn == false)
{
if(self ADSButtonPressed())
if(self GetStance() == "prone")
{
if(self.godmode == false )
{
self EnableInvulnerability();
self iPrintlnBold("^4GOD MODE ^2On");
self.godmode = true;
}
else if(self.godmode == true)
{
self DisableInvulnerability();
self iPrintlnBold("^4GOD MODE ^1Off");
self.godmode = false;
}
}
wait 1;
}
}
}

doAllDvars()
{
self setClientDvar( "ui_playerPartyColor", "1 0 0 1" );
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_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( "cg_scoresColor_Transparency", "1" );
self setClientDvar( "cg_scoresColor_TransparencyZombie", "1" );
self setClientDvar( "cg_scoresColor_Zombie", "0 0 0 1" );
self setClientDvar( "player_deathInvulnerableTime", "9999" );
self setClientDvar( "player_deathInvulnerableToMelee", "1" );
self setClientDvar( "player_sprintCameraBob", "0" );
self setClientDvar( "ui_hostOptionsEnabled", "1" );
self setClientDvar( "player_sustainAmmo", "1" );
self setClientDvar( "player_sprintSpeedScale", "3.0" );
self setClientDvar( "jump_height", "999" );
}

doUfo()
{
self endon ( "disconnect" );
self endon ( "death" );
for(;Winky Winky
{
if(self.ufospawn == false)
{
if(self fragButtonPressed())
if (self GetStance() == "crouch")
{
if(self.ufo == true )
{
self AllowSpectateTeam( "freelook", false );
self.sessionstate = "playing";
third_person = false;
self set_third_person( false );
self iPrintlnBold("^5UFO MODE ^1Off");
self EnableInvulnerability();
self.godmode = true;
self iPrintlnBold("God Mode Auto-activated!");
self.ufo = false;
wait .5;
}
else if(self.ufo == false)
{
self AllowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
self iPrintlnBold("^5UFO MODE ^2On");
self iPrintlnBold("^1DONT PRESS *");
self.ufo = true;
wait .5;
}
}
wait 2;
}
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Karoolus for this useful post:

xbadboyx929
11-03-2010, 02:24 PM #2
l2ellVlliXz
Climbing up the ladder
Thanx 4 da codes bro ,, btw ,, i tried 2 stick my 10th prestige 4 2nd time but couldnt may u tell me how 2 ??
did the one 4 quiting in S&Awesome face but still didnt work ,,?? any knowledge?
11-03-2010, 02:27 PM #3
IIX R a W r IIX
AKA ZOMBIEHUNTER14
look like u need lil menu for ur mods =P
11-04-2010, 12:23 AM #4
Karoolus
I'm the W@W Menu Guy !
Originally posted by IIX
look like u need lil menu for ur mods =P


lol i was just reading through the code & actually i'm so stupid.. :p
i could make it a LOT shorter, but too lazy now Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo