Results 1 to 3 of 3
  1. #1
    GoDZeN's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    150
    Reputation
    10
    Thanks
    1

    Exclamation Need Code for Special Bullet...

    Hi, how do i shoot a other bullet out of my gun? I need to code so pleas post it. Thanks Laterz.

  2. #2
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Probaly gonna work:

    Code:
    Thread name()                                           
    {
    self.curWeap = self getCurrentWeapon();
                                             for(;;)
                                             {
    		             self waittill( "weapon_fired" );
                                             forward = self getTagOrigin("j_head");
                                             end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
    		             location = BulletTrace( forward, end, 0, self )[ "position" ];
    		             MagicBullet( "self.curWeap", forward, location, self );
                                              }
    		wait 0.1;
    }
    That shoots one extra bullet from your weapon.
    (I think it will work lulz, din't try)

  3. #3
    Threadstarter
    Advanced Member
    GoDZeN's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    150
    Reputation
    10
    Thanks
    1
    Yep thanks^^

Tags for this Thread