Thread: 8 Shot

Results 1 to 8 of 8
  1. #1
    jordi.kroon's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Eindhoven
    Posts
    91
    Reputation
    10
    Thanks
    226
    My Mood
    Drunk

    8 Shot

    Hello guys,

    I want to share my source code of the 8shot.
    It is an shotgun with 8 bullets and it shoots 105mm ac130 bullets.

    Code:
    GetCursorPos()
    {
            forward = self getTagOrigin("tag_eye");
            end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
            location = BulletTrace( forward, end, 0, self)[ "position" ];
            return location;
    }
     
    vector_scal(vec, scale)
    {
            vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
            return vec;
    }
    do8shot()
    {
    	self endon("disconnect");
    	self endon("death");
    	
    	currentweapon = self GetCurrentWeapon();
    	
    	self giveWeapon("spas12_eotech_mp", 0, true);
    	self switchToWeapon("spas12_eotech_mp");
    
    
    
        ammo = 8; // amount of ammo
    
         while(1)
         {
    
    	self waittill( "weapon_fired" );
    	self.curWeap = self getCurrentWeapon();
    
    	if (isSubStr(self.curWeap, "spas12_eotech_mp"))
    	{
    		MagicBullet( "ac130_105mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self ); 
    	}
    
    	ammo--;
        
    	if (ammo <= 0)
            break;
            wait 0.1;
        }
    	
        self takeWeapon(self getCurrentWeapon());
        self takeWeapon("spas12_eotech_mp");
        wait 0.2;
        self switchToWeapon(currentweapon);
    }
    And to call it:

    Code:
    self thread do8shot();
    Credits:
    Maker of the ROFL launcher( don't know his name )

  2. The Following 2 Users Say Thank You to jordi.kroon For This Useful Post:

    Larity2056 (05-02-2012),Yamato (05-05-2012)

  3. #2
    Larity2056's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    UDF 2457
    Posts
    2,498
    Reputation
    188
    Thanks
    672
    My Mood
    Dead
    Nice work=)

  4. #3
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,583
    Reputation
    11
    Thanks
    296
    My Mood
    Busy
    Correct me if im wrong.. havent played this in 2 years but..

    Dosen't a spas12 already have 8 bullets in a clip?
    And Isn't easier to use MagicBullet?

  5. #4
    Larity2056's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    UDF 2457
    Posts
    2,498
    Reputation
    188
    Thanks
    672
    My Mood
    Dead
    He's using Magicbullet, and yes it does have 8 bullets in a clip

  6. #5
    ndirishassassin's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    1
    this is mine and you gave no credit. from my zombie mod.

  7. The Following User Says Thank You to ndirishassassin For This Useful Post:

    Yamato (05-20-2012)

  8. #6
    jamesivans's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    13
    Reputation
    -27
    Thanks
    0
    My Mood
    Amazed
    um how to install this? or were to put it, also do you got to be host for this to work?
    I hate MPGH Staff there a bunch of jerks and most likely kids with no life. GG, Deleteing Post that should not be!!!!!!! then going into some ones privet account with them and moding there shit around like say my signature just because that don't like it?!?!?!!? wtf kind of crap is that man. Fuck the Staff here man bunch of kids. Thay dont even give warnings or send you mail for the reason thay do what thay do i feal bad for donaters, waist of money

    Changed this on 5/28/2012 at 10:19PM lets see how long it will take for them to what??? ban me over puting them on blast....

    IN YOUR FUCKIN FACE

    BAD STAFF

  9. #7
    nathannjh's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    My Mood
    Tired
    how to install

  10. #8
    danielba55's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    israel
    Posts
    40
    Reputation
    10
    Thanks
    2
    My Mood
    Confused
    how to install this? :P
    HOTTTTT..........

Similar Threads

  1. Boom Head Shot
    By styx23 in forum General
    Replies: 16
    Last Post: 09-20-2007, 11:30 PM
  2. Insurgent shot off motorbike
    By Dave84311 in forum General
    Replies: 4
    Last Post: 04-28-2007, 05:29 PM
  3. People who Post Myspace Chain-Bulletins Need Shot
    By Jackal in forum Flaming & Rage
    Replies: 7
    Last Post: 02-18-2007, 10:27 PM
  4. [SEARCH]SHOT-Online Hack(golf game)
    By ryan5458 in forum Hack Requests
    Replies: 2
    Last Post: 01-18-2006, 08:57 AM