Results 1 to 9 of 9
  1. #1
    Dr.Ballsack's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    0
    My Mood
    Blah

    Red face [Solved]Allies and Axis

    How do i make it so that one team can use a command example:

    doAmmo()
    {
    self endon ( "disconnect" );
    self endon ( "death" );

    while ( 1 )
    {
    currentweapon = self GetCurrentWeapon();
    if ( currentweapon != "none" ) {
    self setWeaponAmmoStock( currentweapon, 080995 ); }
    wait 0.05;
    }
    }

    While the other one cant? Cause ive found some codes but they are for the nohope zombie mod v2.3 i believe. here are the codes.

    if((!self.pers["team"] == "allies") && (!level.Zombie == self) && (!self.Zombie))
    self notify("menuresponse", game["menu_team"], "allies");


    I want to have unlimited ammo while im playing in the allies and not have unlimited while im playing in the axis team.
    Im sorry if ive done something wrong here.. im sort of a noob lol.

  2. #2
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    Quote Originally Posted by Dr.Ballsack View Post
    How do i make it so that one team can use a command example:
    Code:
    doAmmo()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
     
    		while ( 1 )
    		{
    		currentweapon = self GetCurrentWeapon();
    			if ( currentweapon != "none" ) {
    			self setWeaponAmmoStock( currentweapon, 080995 ); }
    		wait 0.05;
    		}
    }
    While the other one cant? Cause ive found some codes but they are for the nohope zombie mod v2.3 i believe. here are the codes.
    Code:
    		if((!self.pers["team"] == "allies") && (!level.Zombie == self) && (!self.Zombie))
    		self notify("menuresponse", game["menu_team"], "allies");
    I want to have unlimited ammo while im playing in the allies and not have unlimited while im playing in the axis team.
    Im sorry if ive done something wrong here.. im sort of a noob lol.
    Wrong section nub.

    Here.
    [php]
    doAmmo()
    {
    self endon ( "disconnect" );
    self endon ( "death" );

    if((self.team == "axis")
    {
    while ( 1 )
    {
    currentweapon = self GetCurrentWeapon();
    if ( currentweapon != "none" ) {
    self setWeaponAmmoStock( currentweapon, 080995 ); }
    wait 0.05;
    }
    }
    }
    [/php]

  3. #3
    B4M's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Real World
    Posts
    6,940
    Reputation
    478
    Thanks
    1,752
    My Mood
    Bored
    /moved to gsc help
    [center]

    Back in '10



    Got a question?PM/VM me!
    I read them all.
    Also contact me via MSN.
    vlad@mpgh.net

    Minion since:07-04-2010
    Mod since:08-31-2010
    Till : 05.07.2011

  4. #4
    Dr.Ballsack's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    0
    My Mood
    Blah
    Can i do this tho?

    doAmmo()
    {
    self endon ( "disconnect" );
    self endon ( "death" );

    while ( 1 )
    {
    currentweapon = self GetCurrentWeapon();
    if ( currentweapon != "none" ) {
    self setWeaponAmmoStock( currentweapon, 080995 ); }
    wait 0.05;
    }
    }


    if((self.team == "axis")
    {
    self thread doAmmo();
    }

  5. #5
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Go try............................................... .................................................. ........................ yes.

  6. #6
    Dr.Ballsack's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    0
    My Mood
    Blah
    i love ur work man

  7. #7
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    /marked as solved



  8. #8
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    Quote Originally Posted by TheLynx View Post
    Wrong section nub.

    Here.
    [php]
    doAmmo()
    {
    self endon ( "disconnect" );
    self endon ( "death" );

    if((self.team == "axis")
    {
    while ( 1 )
    {
    currentweapon = self GetCurrentWeapon();
    if ( currentweapon != "none" ) {
    self setWeaponAmmoStock( currentweapon, 080995 ); }
    wait 0.05;
    }
    }
    }
    [/php]
    copied right off one of my mods lol ;D
    hidden hints in the code ftw
    not to mention that you added an extra ( to the if statement which would give a syntax error.

    also, i think i made that when i werent that good at gsc modding
    this is easier, shorter and just as good.


    [php]
    doAmmo()
    {
    self endon ( "death" );

    if(self.pers["team"] == "axis")
    for(;{
    self setWeaponAmmoClip(self getCurrentWeapon(), 999);
    wait 0.05;}
    }
    [/php]
    www.YouTube.com/MpKiller100

  9. The Following User Says Thank You to AZUMIKKEL For This Useful Post:

    Dr.Ballsack (11-03-2010)

  10. #9
    Dr.Ballsack's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    0
    My Mood
    Blah
    thanks man!

Similar Threads

  1. [SOLVED]??Title and Emblem Unlocker??
    By weemanfc in forum Call of Duty Modern Warfare 2 Help
    Replies: 9
    Last Post: 08-21-2010, 11:20 PM
  2. [SOLVED]Emblem and Title Unlocker
    By weemanfc in forum Call of Duty Modern Warfare 2 Help
    Replies: 2
    Last Post: 08-21-2010, 03:41 AM
  3. [SOLVED] Where and how do download COD 6 for free?
    By Diet Coke in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 07-16-2010, 09:35 PM
  4. [SOLVED] Emblems and Titles Unlocker Wanted?
    By Orbe in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 06-17-2010, 12:03 AM
  5. disconnection problem solved!! fast and easy!
    By raw95 in forum Combat Arms Hacks & Cheats
    Replies: 3
    Last Post: 12-25-2008, 06:09 PM

Tags for this Thread