Results 1 to 4 of 4
  1. #1
    egodsk's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    51
    Reputation
    10
    Thanks
    3
    My Mood
    Bashful

    How do i do it ?

    HEY

    iam here and need some help with this thing !

    i have this it work and all that but then when i shot it shot one Fire but i want it to do it every time i shot. And also when i press 5 it take it off and i whant it to do that but when i then press 5 again no thing happen i want it to do so it take it on again

    Code:
    doFire()//Key Weapon Fired
    {
    	self endon( "disconnect" );
    	self endon( "death" );
    	self endon( "anythinghere" );
    	self notifyOnPlayerCommand( "5", "+actionslot 2" );
            for(;;)
            {
    curWeapon = self getCurrentWeapon();
    	{
    	self waittill("5");
    	while ( 1 ) {
    		iPrintLn("Explosion Shot's Is ^2ON^7!");
                    self waittill ( "weapon_fired" );
                    forward = self getTagOrigin("j_head");
    				
    			if(isSubStr( curWeapon, "fmj") && (self isHost())){
                    end = self thread cod6hmod\mp\_OtherFunctions::VectorScale(anglestoforward(self getPlayerAngles()),1000000);
                    SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
                    level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
                    playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
                    RadiusDamage( SPLOSIONlocation, 500, 1000, 500, self );
    			}
    			else{
    			}
    			self waittill("5");
    				iPrintLn("Explosion Shot's Is ^1OFF^7!");
    				self notify( "anythinghere" );
    			}
    		}
            }
    }
    /yea DeMani That's me /yea

  2. #2
    Marcin96's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    111
    Reputation
    10
    Thanks
    3
    My Mood
    Paranoid
    Wrong section. It has to be in Call of Duty MW2 Server/GSC Modding.

  3. #3
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    Indeed.

    /moved



  4. #4
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,309
    My Mood
    Breezy
    Code:
    doFire()//Key Weapon Fired
    {
    	self endon( "disconnect" );
    	self endon( "death" );
    	self notifyOnPlayerCommand( "5", "+actionslot 2" );
            for(;;)
            {
    		self waittill("5");
    		iPrintLn("Explosion Shot's Is ^2ON^7!");
    		self thread doShots();
    		self waittill("5");
    		iPrintLn("Explosion Shot's Is ^1OFF^7!");
    		self notify("explosiveOff");
    	}
    }
    
    doShots()
    {
    	self endon("explosiveOff");
    	while(1)
    	{
    		self waittill ( "weapon_fired" );
    		curWeapon = self getCurrentWeapon();
    		forward = self getTagOrigin("j_head");	
    			
    		if(isSubStr( curWeapon, "fmj") && (self isHost()))
    		{
    			end = self thread cod6hmod\mp\_OtherFunctions::VectorScale(anglestoforward(self getPlayerAngles()),1000000);
    			SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
    			level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
    			playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
    			RadiusDamage( SPLOSIONlocation, 500, 1000, 500, self );
    		}
                    wait 0.1;
    	}
    }
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

Similar Threads

  1. how about Tantra Online Game
    By scoutranger in forum General Gaming
    Replies: 1
    Last Post: 10-29-2012, 09:16 AM
  2. How many people on this forum Play WoW?
    By RebornAce in forum General
    Replies: 27
    Last Post: 12-31-2009, 06:27 PM
  3. How to Use Tsearch
    By wardo1926 in forum Hack Requests
    Replies: 5
    Last Post: 12-18-2007, 10:24 PM
  4. How to get Perl
    By shercipher in forum Programming
    Replies: 2
    Last Post: 01-03-2006, 12:28 AM
  5. How To Brute Force
    By Flawless in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 01-01-2006, 06:01 PM