Results 1 to 6 of 6
  1. #1
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored

    Simple Mustang N Sally Code

    i got bored so i made this, its probably been created already soooo
    Code:
    MustangNSally()
    {
    	self giveWeapon("m1911dw_mp");
    	self giveMaxAmmo("m1911dw_mp");
    	self endon("death");
    	self endon("disconnect");
    	while(1) 
    	{
    		self waittill("weapon_fired");
    		if(self getCurrentWeapon() == "m1911dw_mp")
    		MagicBullet("gl_ak47_mp", self getTagOrigin("tag_weapon_right"), self getAim());
    	}
    }	
     
    getAim()
    {
        	forward = self getTagOrigin("tag_eye");
        	end = self vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
        	Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
        	return Crosshair;
    }
     
    vector_scal(vec, scale)
    {
        	vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
        	return vec;
    }
    Last edited by jimmynguyen3030; 01-30-2011 at 10:16 AM.
    If I Helped You, Plz Thanks.
    It Would Help Alot

    What Do You Do For A Living?
    I Mostly Own Noobs With The AK-47 With Silencer
    What's That?
    (Turns To Friend)
    HAHAHA Noob!!!!!!

  2. The Following User Says Thank You to jimmynguyen3030 For This Useful Post:

    sammysfat (01-31-2011)

  3. #2
    nikolai13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Aus NSW
    Posts
    74
    Reputation
    10
    Thanks
    2
    My Mood
    Bored
    Nice Good Job xD
    In America, you find where is Waldo. In Soviet Russia, Waldo finds YOU!

  4. #3
    sammysfat's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    89
    Reputation
    10
    Thanks
    9
    My Mood
    Breezy
    NIce work, though maybe it would of been better to use the china lake? Just a suggestion

  5. #4
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    but for some reason u dont get the kill, it saids mistakes were made
    working on a fix
    If I Helped You, Plz Thanks.
    It Would Help Alot

    What Do You Do For A Living?
    I Mostly Own Noobs With The AK-47 With Silencer
    What's That?
    (Turns To Friend)
    HAHAHA Noob!!!!!!

  6. #5
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Just fires a tube?

  7. #6
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,583
    Reputation
    11
    Thanks
    296
    My Mood
    Busy
    Um ok.....