Post: [RELEASE]Deathmachine - 100% working!
10-05-2011, 01:39 AM #1
Choco
Respect my authoritah!!
(adsbygoogle = window.adsbygoogle || []).push({}); Video:


Here's the script:

    DeathMachine()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
self iPrintlnBold( "^1Deathmachine equipped for 30 seconds!" );
self thread timer();
self thread watchGun();
self thread endDM();
//thread your menuClose here
self allowADS(false);
self allowSprint(false);
self setPerk("specialty_bulletaccuracy");
self setPerk("specialty_rof");
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
self setClientDvar("perk_weapRateMultiplier", 0.20);
self giveWeapon( "saw_grip_mp" );
self switchToWeapon( "saw_grip_mp" );
for(;Winky Winky
{
weap = self GetCurrentWeapon();
self setWeaponAmmoClip(weap, 150);
wait 0.2;
}
}

timer()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
timerText = self createFontString( "objective", 2.0 );
timerText setPoint( "TOP", "TOP");
for(i=30; i>=0; i--)
{
timerText setText( "^1Time remaining: "+i );
wait 1;
if(i == 0)
{
timerText destroy();
}
}
self notify("time_expired");
}

endDM()
{
self endon("disconnect");
self endon("death");
self waittill("time_expired");
self takeWeapon("saw_grip_mp");
self setClientDvar("perk_weapRateMultiplier", 0.7);
self setClientDvar("perk_weapSpreadMultiplier", 0.6);
self allowADS(true);
self allowSprint(true);
}

watchGun()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
for(;Winky Winky
{
if( self GetCurrentWeapon() != "saw_grip_mp")
{
self switchToWeapon( "saw_grip_mp" );
}
wait 0.01;
}
}


Execute it with:
    self thread DeathMachine();


Video coming soon Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 6 users say thank you to Choco for this useful post:

Cien, Diddles2Fresshh, lovebros, xAUSTIN, xxshredgnarxx, User2340034u
10-06-2011, 01:32 AM #11
Originally posted by .Choco View Post
Video:


Here's the script:

    DeathMachine()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
self iPrintlnBold( "^1Deathmachine equipped for 30 seconds!" );
self thread timer();
self thread watchGun();
self thread endDM();
//thread your menuClose here
self allowADS(false);
self allowSprint(false);
self setPerk("specialty_bulletaccuracy");
self setPerk("specialty_rof");
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
self setClientDvar("perk_weapRateMultiplier", 0.20);
self giveWeapon( "saw_grip_mp" );
self switchToWeapon( "saw_grip_mp" );
for(;Winky Winky
{
weap = self GetCurrentWeapon();
self setWeaponAmmoClip(weap, 150);
wait 0.2;
}
}

timer()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
timerText = self createFontString( "objective", 2.0 );
timerText setPoint( "TOP", "TOP");
for(i=30; i>=0; i--)
{
timerText setText( "^1Time remaining: "+i );
wait 1;
if(i == 0)
{
timerText destroy();
}
}
self notify("time_expired");
}

endDM()
{
self endon("disconnect");
self endon("death");
self waittill("time_expired");
self takeWeapon("saw_grip_mp");
self setClientDvar("perk_weapRateMultiplier", 0.7);
self setClientDvar("perk_weapSpreadMultiplier", 0.6);
self allowADS(true);
self allowSprint(true);
}

watchGun()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
for(;Winky Winky
{
if( self GetCurrentWeapon() != "saw_grip_mp")
{
self switchToWeapon( "saw_grip_mp" );
}
wait 0.01;
}
}


Execute it with:
    self thread DeathMachine();


Video coming soon Smile


$exy @$$ menu!! i <3 it. also the deathmachine looks pretty sweet too.
10-06-2011, 01:35 PM #12
K-Snody
Loading... ████████] 99%
hes provided the code jeez do the rest of the work yoursleves google how to do it theres hundreds of threads.....
10-10-2011, 08:42 PM #13
Correy
I'm the Original
Originally posted by .Choco View Post
Video:


Here's the script:

    DeathMachine()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
self iPrintlnBold( "^1Deathmachine equipped for 30 seconds!" );
self thread timer();
self thread watchGun();
self thread endDM();
//thread your menuClose here
self allowADS(false);
self allowSprint(false);
self setPerk("specialty_bulletaccuracy");
self setPerk("specialty_rof");
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
self setClientDvar("perk_weapRateMultiplier", 0.20);
self giveWeapon( "saw_grip_mp" );
self switchToWeapon( "saw_grip_mp" );
for(;Winky Winky
{
weap = self GetCurrentWeapon();
self setWeaponAmmoClip(weap, 150);
wait 0.2;
}
}

timer()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
timerText = self createFontString( "objective", 2.0 );
timerText setPoint( "TOP", "TOP");
for(i=30; i>=0; i--)
{
timerText setText( "^1Time remaining: "+i );
wait 1;
if(i == 0)
{
timerText destroy();
}
}
self notify("time_expired");
}

endDM()
{
self endon("disconnect");
self endon("death");
self waittill("time_expired");
self takeWeapon("saw_grip_mp");
self setClientDvar("perk_weapRateMultiplier", 0.7);
self setClientDvar("perk_weapSpreadMultiplier", 0.6);
self allowADS(true);
self allowSprint(true);
}

watchGun()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
for(;Winky Winky
{
if( self GetCurrentWeapon() != "saw_grip_mp")
{
self switchToWeapon( "saw_grip_mp" );
}
wait 0.01;
}
}


Execute it with:
    self thread DeathMachine();


Video coming soon Smile


heres a much better code..
    
Correy_DeathMachine(button)
{
self.Timer = 30;
self waittill(button);
self.Timer--;
self waittill("Start_Death");
while( self.Timer < 30 )
{
self setPerk("specialty_bulletaccuracy");
self setPerk("specialty_rof");
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
self setClientDvar("perk_weapRateMultiplier", 0.20);
self giveWeapon( "saw_grip_mp" );
self switchToWeapon( "saw_grip_mp" );
timerText = self createFontString( "objective", 2.0 );
timerText setPoint( "TOP", "TOP");
for ( i = 30; i>=0; i--)
{
timerText setText("Time Remaining : " + i);
wait 1;
self.Timer = i;
}
if( self GetCurrentWeapon() != "saw_grip_mp")
{
self switchToWeapon( "saw_grip_mp" );
}
self allowSprint(false);
self allowAds(false);

}
if ( self.Timer == 0 )
{
timerText destroy();
self takeWeapon("saw_grip_mp");
self setClientDvar("perk_weapRateMultiplier", 0.7);
self setClientDvar("perk_weapSpreadMultiplier", 0.6);
self allowADS(true);
self allowSprint(true);
}
}


thread it with
    
self thread Correy_DeathMachine("[COLOR="#FF0000"]Your_Waittill Or Notify[/COLOR]");

The following user thanked Correy for this useful post:

Choco
10-10-2011, 10:24 PM #14
Originally posted by Correy View Post
heres a much better code..
    
Correy_DeathMachine(button)
{
self.Timer = 30;
self waittill(button);
self.Timer--;
self waittill("Start_Death");
while( self.Timer < 30 )
{
self setPerk("specialty_bulletaccuracy");
self setPerk("specialty_rof");
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
self setClientDvar("perk_weapRateMultiplier", 0.20);
self giveWeapon( "saw_grip_mp" );
self switchToWeapon( "saw_grip_mp" );
timerText = self createFontString( "objective", 2.0 );
timerText setPoint( "TOP", "TOP");
for ( i = 30; i>=0; i--)
{
timerText setText("Time Remaining : " + i);
wait 1;
self.Timer = i;
}
if( self GetCurrentWeapon() != "saw_grip_mp")
{
self switchToWeapon( "saw_grip_mp" );
}
self allowSprint(false);
self allowAds(false);

}
if ( self.Timer == 0 )
{
timerText destroy();
self takeWeapon("saw_grip_mp");
self setClientDvar("perk_weapRateMultiplier", 0.7);
self setClientDvar("perk_weapSpreadMultiplier", 0.6);
self allowADS(true);
self allowSprint(true);
}
}


thread it with
    
self thread Correy_DeathMachine("[COLOR="#FF0000"]Your_Waittill Or Notify[/COLOR]");

it'll still crash unless you get rid of that timer settext()
10-10-2011, 10:26 PM #15
Correy
I'm the Original
Originally posted by x. View Post
it'll still crash unless you get rid of that timer settext()


use a iPrintln :fyea:
10-10-2011, 11:26 PM #16
Originally posted by Correy View Post
use a iPrintln :fyea:
or use the level timer like Amanda said earlier in this thread Smile
10-11-2011, 10:36 AM #17
Correy
I'm the Original
Originally posted by x. View Post
or use the level timer like Amanda said earlier in this thread Smile


never really looked through the patch tbh, but i've descovered something pretty good for cod4 Winky Winky
10-11-2011, 01:21 PM #18
Woof
...hmm
Originally posted by Blackstorm View Post
Yep, the middle slot is telling the loop to keep going until the middle slot is false. =D


lol I think if it like this:

color = what I think in mind

for ( i = 0; if i < 10; then i+=1){}

Just the way I have always thought of it xD

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo