Results 1 to 13 of 13
  1. #1
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115

    My Crossbow & Sentry Gun v2 + [Help] Stock problem

    Finally managed it, however theres one thing that remains >.<

    (Sorry for bad quality I guess, haha)

    With the "crossbow", if you look at the stock, it removes 10 ammo each time.
    Anyone know a fix?
    Code:
    for(;;){
    wep = self getCurrentWeapon();
    clip = self getWeaponAmmoClip(wep);
    if(wep == "m21_acog_mp")
    if(clip != 0)
    self setWeaponAmmoClip(wep, 1);
    wait 0.05;}

  2. #2
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    Epicˇˇˇˇ specially sentry gun,

  3. #3
    JamesA1994's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    The dark side
    Posts
    1,703
    Reputation
    271
    Thanks
    529
    My Mood
    Psychedelic
    That is cool.
    Nice work ;D
    CoD Minion: Jan 13th 2011 to April 11 2011
    MMORPG Minion Since: March 28th 2011 to April 11 2011

    Don't be afraid to rep, you aren't loosing anything!
    Don't forget your P&Q's. Press the thanks button if someone has helped.
    jamesa1994@hotmail.com

  4. #4
    Boon Pek's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    389
    My Mood
    Inspired
    I don't really know why people seem to think that the sentry code is so "epic" I myself could do it very, very easily :P

    Just remove all the crap from _autosentry.gsc, and add a few extra lines.
    My minecraft launcher!

    A full-featured, actively-developed windows-only Minecraft Launcher! It allows you to download older versions of minecraft.jar through the options menu, multi-username support, RAM allocation support, non-legit logins and more!








    [img]https://i61.photobucke*****m/albums/h56/damwickid/pscs5.png[/img]


  5. #5
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Well, I'm quite sure most people wouldn't even thought of an _autosentry.gsc, and would also have no idea what to remove.
    Just my thoughts though..

  6. #6
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    try using masters code?
    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!!!!!!
    [img]https://www.danasof*****m/sig/asd248737.jpg[/img]

  7. #7
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,627
    Reputation
    11
    Thanks
    325
    My Mood
    Angelic
    Its Great! Goodjob

  8. #8
    cacheat's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Spain,Aragon,Huesca
    Posts
    178
    Reputation
    10
    Thanks
    8
    My Mood
    Psychedelic
    wow this looks amazing,waiting for release!!!!!!!!!!
    "It doesn't take the most powerful nations on Earth to create the next global conflict. Just the will of a single man."
    -- Vladimir Makarov

    [IMG]https://i1236.photobucke*****m/albums/ff441/hiere1/key_art_how_i_met_your_mother.jpg[/IMG]











  9. #9
    Boon Pek's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    389
    My Mood
    Inspired
    Here's something I conjured in a minute :P

    Code:
    doTest()
    {
    	self endon("death");
    
    	self giveWeapon("m21_acog_mp");
    	self GiveMaxAmmo("m21_acog_mp");
    
    	self setWeaponAmmoClip("m21_acog_mp", 1);
    
    	for(;;)
    	{
    		stock = self getWeaponAmmoStock("m21_acog_mp");	
    
    		self waittill("weapon_fired");
    
    		if(self getCurrentWeapon() == "m21_acog_mp")
    		{
    			while(self getWeaponAmmoClip("m21_acog_mp") == 0)
    			{
    				wait .05;
    			}
    			self setWeaponAmmoClip("m21_acog_mp", 1);
    			self setWeaponAmmoStock("m21_acog_mp", stock - 1);
    		}
    		wait .05;	
    	}
    }
    Hope it works

    PS. I am BlackShot. Added you as a friend on Steam but you didn't accept the request as of now :P

    I know what you're working on

    /EDIT: Fixed it a little :P
    Last edited by Boon Pek; 01-16-2011 at 09:02 AM.
    My minecraft launcher!

    A full-featured, actively-developed windows-only Minecraft Launcher! It allows you to download older versions of minecraft.jar through the options menu, multi-username support, RAM allocation support, non-legit logins and more!








    [img]https://i61.photobucke*****m/albums/h56/damwickid/pscs5.png[/img]


  10. #10
    YuDi21's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    mp_complex
    Posts
    141
    Reputation
    12
    Thanks
    35
    My Mood
    Angelic
    nice! only ac130 bullet for crossbow very big=)

  11. #11
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Quote Originally Posted by YuDi21 View Post
    nice! only ac130 bullet for crossbow very big=)
    Hehe, thought of it myself, though I just don't know what else to take

  12. #12
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    i think y he lost a whole clip was because
    the clip was full
    clip was set to 1
    so all the other ammo was lost but the game dont see it
    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!!!!!!
    [img]https://www.danasof*****m/sig/asd248737.jpg[/img]

  13. #13
    Boon Pek's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    389
    My Mood
    Inspired
    I already posted a solution, no need to state the obvious without providing an alternative solution