Results 1 to 14 of 14
  1. #1
    ~Just IN~'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    self thread xbox360nolife() {
    Posts
    518
    Reputation
    11
    Thanks
    52
    My Mood
    Doh

    Is this possible? If so how?

    Giving HOST only EVERY gun in the game.

    Ex:
    I want M-21 EBER.


    I have a Intervention right now, I switch, I get Barrett, I switch again, I get WA 2000, I switch again and I get EBER.

    All fall camos?

    Like in Nazi Zombies in CoD5: You switch through all weapons and you can drop them. I only want ALL weapons no dropping. /

  2. #2
    spiritwo's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Colorado
    Posts
    709
    Reputation
    17
    Thanks
    76
    My Mood
    Happy
    Do something like:
    [php]
    doRotate()
    {
    self notifyonplayercommand("1", "+weapnext");
    self waittill("1");
    self giveWeapon( "scar_fmj_mp", 6, false);
    self GiveMaxAmmo( "scar_fmj_mp");
    self waittill("1");
    self giveWeapon( "usp_mp", 6, false);
    self GiveMaxAmmo( "usp_mp");


    // continue the pattern for every gun


    }
    [/php]
    --
    "Life is tough. It's tougher if you're stupid."

    Spiritwo |






  3. The Following 3 Users Say Thank You to spiritwo For This Useful Post:

    cgallagher21 (11-02-2010),House (11-02-2010),~Just IN~ (11-02-2010)

  4. #3
    ~Just IN~'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    self thread xbox360nolife() {
    Posts
    518
    Reputation
    11
    Thanks
    52
    My Mood
    Doh
    :O Thanks [SOLVED]

    Im going to try it my way first :d

  5. #4
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,609
    Reputation
    11
    Thanks
    299
    My Mood
    Drunk
    Hanks spirit will cone in handy in my nxt mod

  6. #5
    bomb21's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Unknown
    Posts
    57
    Reputation
    10
    Thanks
    22
    Code:
    onPlayerSpawned()
    {
    if(self isHost())
    foreach(weapon in level.weapons)//should be level.weapons but not 100% sure
    {
            self giveWeapon( weapon, 6, false);
    }
    }
    Last edited by bomb21; 11-02-2010 at 08:12 PM.

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

    ~Just IN~ (11-03-2010)

  8. #6
    ~Just IN~'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    self thread xbox360nolife() {
    Posts
    518
    Reputation
    11
    Thanks
    52
    My Mood
    Doh
    So Primary > secondary? Or can i just do like M4A1 FMJ - M4A1 ACOG?

    EDIT: Whats wrong with this:
    [php]doSwapping()
    {
    self notifyonplayercommand("1", "+weapnext");
    self waittill("1")
    self giveWeapon( "m4_mp", 6, false); // Assualt Rifles
    self GiveMaxAmmo( "m4_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_mp", 6, false);
    self GiveMaxAmmo( "m4_acog_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_mp", 6, false);
    self GiveMaxAmmo( "m4_eotech_mp");
    self waittill("1");
    self giveWeapon( "m4_fmj_mp", 6, false);
    self GiveMaxAmmo( "m4_fmj_mp");
    self waittill("1");
    self giveWeapon( "m4_gl_mp", 6, false);
    self GiveMaxAmmo( "m4_gl_mp");
    self waittill("1");
    self giveWeapon( "m4_heartbeat_mp", 6, false);
    self GiveMaxAmmo( "m4_heartbeat_mp");
    self waittill("1");
    self giveWeapon( "m4_reflex_mp", 6, false);
    self GiveMaxAmmo( "m4_reflex_mp");
    self waittill("1");
    self giveWeapon( "m4_shotgun_mp", 6, false);
    self GiveMaxAmmo( "m4_silencer_mp");
    self waittill("1");
    self giveWeapon( "m4_thermal_mp", 6, false);
    self GiveMaxAmmo( "m4_thermal_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_fmj_mp", 6, false);
    self GiveMaxAmmo( "m4_acog_fmj_mp");
    self waittill("1");
    self giveWeapon( "m4_xmags", 6, false);
    self GiveMaxAmmo( "m4_xmags_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_gl_mp", 6, false);
    self GiveMaxAmmo( "m4_acog_gl_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_heartbeat_mp", 6, false);
    self GiveMaxAmmo( "m4_acog_heartbeat_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_shotgun_mp", 6, false);
    self GiveMaxAmmo( "m4_acog_shotgun_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_silencer_mp", 6, false);
    self GiveMaxAmmo( "m4_acog_silencer_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_xmags_mp", 6, false);
    self GiveMaxAmmo( "m4_acog_xmags_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_fmj_mp", 6, false);
    self GiveMaxAmmo( "m4_eotech_fmj_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_fmj_mp", 6, false);
    self GiveMaxAmmo( "m4_eotech_fmj_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_gl_mp", 6, false);
    self GiveMaxAmmo( "m4_eotech_gl_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_heartbeat_mp", 6, false);
    self GiveMaxAmmo( "m4_eotech_heartbeat_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_shotgun_mp", 6, false);
    self GiveMaxAmmo( "m4_eotech_shotgun_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_silencer_mp", 6, false);
    self GiveMaxAmmo( "m4__mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_xmags_mp", 6, false);
    self GiveMaxAmmo( "m4_eotech_xmags_mp");
    self waittill("1");
    } [/php]
    Last edited by ~Just IN~; 11-02-2010 at 08:11 PM.

  9. #7
    bomb21's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Unknown
    Posts
    57
    Reputation
    10
    Thanks
    22
    Code:
    self notifyonplayercommand("1", "+weapnext");
            self waittill("1");
                              ^
    you forgot that

  10. The Following User Says Thank You to bomb21 For This Useful Post:

    ~Just IN~ (11-03-2010)

  11. #8
    ~Just IN~'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    self thread xbox360nolife() {
    Posts
    518
    Reputation
    11
    Thanks
    52
    My Mood
    Doh
    Fixed, But it does nothing I still have my 2 weapons in my class I chose.

    [php]onPlayerSpawned()
    {
    self endon("disconnect");

    for(;
    {
    self waittill("spawned_player");
    self thread doSwapping();
    self thread doText();
    }
    }

    // ALL THE WEAPONS IN MODERN WARFARE 2!!!!!!!!!!!!!!!!
    // ALL CREDITS GO TO ~JUST IN~ OF MPGH!
    // SPIRITWO FOR THE LAYOUT!
    // "self giveWeapon( "scar_fmj_mp", 6, false);
    // self GiveMaxAmmo( "scar_fmj_mp");
    // self waittill("1"); "'
    // MPGH.NET RELEASE ONLY

    doText()
    {
    self endon ( "disconnect" );
    self.instruct = 0;
    displayText = self createFontString( "default", 2.5 );
    displayText setPoint( "TOPLEFT", "TOPLEFT", 4, -50 + 265);
    for( ;; )
    {
    displayText setText("^4All ^6Mw2 ^5Weapons ^3Test");
    wait 0.01;
    displayText setText("^2All ^6Mw2 ^4Weapons ^9Test");
    wait 0.01;
    displayText setText("^3All ^2Mw2 ^6Weapons ^5Test");
    wait 0.01;
    }
    }

    doSwapping()
    {
    self notifyonplayercommand("1", "+weapnext");
    self waittill("1");
    self giveWeapon( "m4_mp", 6, true); // Assualt Rifles
    self GiveMaxAmmo( "m4_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_mp", 6, true);
    self GiveMaxAmmo( "m4_acog_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_mp", 6, true);
    self GiveMaxAmmo( "m4_eotech_mp");
    self waittill("1");
    self giveWeapon( "m4_fmj_mp", 6, true);
    self GiveMaxAmmo( "m4_fmj_mp");
    self waittill("1");
    self giveWeapon( "m4_gl_mp", 6, true);
    self GiveMaxAmmo( "m4_gl_mp");
    self waittill("1");
    self giveWeapon( "m4_heartbeat_mp", 6, true);
    self GiveMaxAmmo( "m4_heartbeat_mp");
    self waittill("1");
    self giveWeapon( "m4_reflex_mp", 6, true);
    self GiveMaxAmmo( "m4_reflex_mp");
    self waittill("1");
    self giveWeapon( "m4_shotgun_mp", 6, true);
    self GiveMaxAmmo( "m4_silencer_mp");
    self waittill("1");
    self giveWeapon( "m4_thermal_mp", 6, true);
    self GiveMaxAmmo( "m4_thermal_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_fmj_mp", 6, true);
    self GiveMaxAmmo( "m4_acog_fmj_mp");
    self waittill("1");
    self giveWeapon( "m4_xmags", 6, true);
    self GiveMaxAmmo( "m4_xmags_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_gl_mp", 6, true);
    self GiveMaxAmmo( "m4_acog_gl_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_heartbeat_mp", 6, true);
    self GiveMaxAmmo( "m4_acog_heartbeat_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_shotgun_mp", 6, true);
    self GiveMaxAmmo( "m4_acog_shotgun_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_silencer_mp", 6, true);
    self GiveMaxAmmo( "m4_acog_silencer_mp");
    self waittill("1");
    self giveWeapon( "m4_acog_xmags_mp", 6, true);
    self GiveMaxAmmo( "m4_acog_xmags_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_fmj_mp", 6, true);
    self GiveMaxAmmo( "m4_eotech_fmj_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_fmj_mp", 6, true);
    self GiveMaxAmmo( "m4_eotech_fmj_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_gl_mp", 6, true);
    self GiveMaxAmmo( "m4_eotech_gl_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_heartbeat_mp", 6, true);
    self GiveMaxAmmo( "m4_eotech_heartbeat_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_shotgun_mp", 6, true);
    self GiveMaxAmmo( "m4_eotech_shotgun_mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_silencer_mp", 6, true);
    self GiveMaxAmmo( "m4__mp");
    self waittill("1");
    self giveWeapon( "m4_eotech_xmags_mp", 6, true);
    self GiveMaxAmmo( "m4_eotech_xmags_mp");
    self waittill("1");
    } [/php]

  12. #9
    spiritwo's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Colorado
    Posts
    709
    Reputation
    17
    Thanks
    76
    My Mood
    Happy
    Code:
    doSwapping()
    {
         self takeAllWeapons();
         self notifyonplayercommand("1", "+weapnext");
            self waittill("1");
        self giveWeapon( "m4_mp", 6, true);  // Assualt Rifles
         self GiveMaxAmmo( "m4_mp");
              self waittill("1");      
        self giveWeapon( "m4_acog_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_mp");
              self waittill("1");
        self giveWeapon( "m4_fmj_mp", 6, true);
         self GiveMaxAmmo( "m4_fmj_mp");
              self waittill("1");
        self giveWeapon( "m4_gl_mp", 6, true);
         self GiveMaxAmmo( "m4_gl_mp");
              self waittill("1");
        self giveWeapon( "m4_heartbeat_mp", 6, true);
         self GiveMaxAmmo( "m4_heartbeat_mp");
              self waittill("1");
        self giveWeapon( "m4_reflex_mp", 6, true);
         self GiveMaxAmmo( "m4_reflex_mp");
              self waittill("1");
        self giveWeapon( "m4_shotgun_mp", 6, true);
         self GiveMaxAmmo( "m4_silencer_mp");
              self waittill("1");
        self giveWeapon( "m4_thermal_mp", 6, true);
         self GiveMaxAmmo( "m4_thermal_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_fmj_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_fmj_mp");
              self waittill("1");
             self giveWeapon( "m4_xmags", 6, true);
         self GiveMaxAmmo( "m4_xmags_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_gl_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_gl_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_heartbeat_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_heartbeat_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_shotgun_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_shotgun_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_silencer_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_silencer_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_xmags_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_xmags_mp");
              self waittill("1");
            self giveWeapon( "m4_eotech_fmj_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_fmj_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_fmj_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_fmj_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_gl_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_gl_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_heartbeat_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_heartbeat_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_shotgun_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_shotgun_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_silencer_mp", 6, true);
         self GiveMaxAmmo( "m4__mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_xmags_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_xmags_mp");
              self waittill("1");
    }
    --
    "Life is tough. It's tougher if you're stupid."

    Spiritwo |






  13. #10
    master131backup's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    94
    Reputation
    19
    Thanks
    163
    My Mood
    Angelic
    It's just weapnext not +weapnext....

  14. The Following User Says Thank You to master131backup For This Useful Post:

    ~Just IN~ (11-03-2010)

  15. #11
    Imthebosss's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    In modding world :D
    Posts
    241
    Reputation
    21
    Thanks
    132
    My Mood
    Drunk
    Try this:

    Code:
    doSwapping()
    {
         self takeAllWeapons();
         self notifyonplayercommand("1", "weapnext");
            self waittill("1");
        self giveWeapon( "m4_mp", 6, true); 
         self GiveMaxAmmo( "m4_mp");
              self waittill("1");      
        self giveWeapon( "m4_acog_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_mp");
              self waittill("1");
        self giveWeapon( "m4_fmj_mp", 6, true);
         self GiveMaxAmmo( "m4_fmj_mp");
              self waittill("1");
        self giveWeapon( "m4_gl_mp", 6, true);
         self GiveMaxAmmo( "m4_gl_mp");
              self waittill("1");
        self giveWeapon( "m4_heartbeat_mp", 6, true);
         self GiveMaxAmmo( "m4_heartbeat_mp");
              self waittill("1");
        self giveWeapon( "m4_reflex_mp", 6, true);
         self GiveMaxAmmo( "m4_reflex_mp");
              self waittill("1");
        self giveWeapon( "m4_shotgun_mp", 6, true);
         self GiveMaxAmmo( "m4_silencer_mp");
              self waittill("1");
        self giveWeapon( "m4_thermal_mp", 6, true);
         self GiveMaxAmmo( "m4_thermal_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_fmj_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_fmj_mp");
              self waittill("1");
             self giveWeapon( "m4_xmags", 6, true);
         self GiveMaxAmmo( "m4_xmags_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_gl_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_gl_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_heartbeat_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_heartbeat_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_shotgun_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_shotgun_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_silencer_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_silencer_mp");
              self waittill("1");
        self giveWeapon( "m4_acog_xmags_mp", 6, true);
         self GiveMaxAmmo( "m4_acog_xmags_mp");
              self waittill("1");
            self giveWeapon( "m4_eotech_fmj_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_fmj_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_fmj_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_fmj_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_gl_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_gl_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_heartbeat_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_heartbeat_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_shotgun_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_shotgun_mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_silencer_mp", 6, true);
         self GiveMaxAmmo( "m4__mp");
              self waittill("1");
        self giveWeapon( "m4_eotech_xmags_mp", 6, true);
         self GiveMaxAmmo( "m4_eotech_xmags_mp");
              self waittill("1");
    }
    Do you need a signature? I will make it! Send me a PM =)



  16. The Following User Says Thank You to Imthebosss For This Useful Post:

    ~Just IN~ (11-03-2010)

  17. #12
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    Got it working now?



  18. #13
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Code:
    someThread()
    {
    owner = self;
    foreach(wep in level.weapons)
    {
    owner waittill("[{+melee}]");
    owner giveWeapon(wep, randomInt(9), randomInt(1));
    }
    }
    Never tested, but should work.

  19. The Following User Says Thank You to [WhA]4FunPlayin For This Useful Post:

    ~Just IN~ (11-03-2010)

  20. #14
    ~Just IN~'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    self thread xbox360nolife() {
    Posts
    518
    Reputation
    11
    Thanks
    52
    My Mood
    Doh
    Solved
    mtsmts

Similar Threads

  1. how the f&%! is this possible
    By Tony Stark` in forum Combat Arms Help
    Replies: 17
    Last Post: 12-08-2010, 03:19 PM
  2. OMG Awsome! How is this possible!!?
    By AeroMan in forum General
    Replies: 8
    Last Post: 10-20-2010, 11:41 AM
  3. How is this possible?
    By Robert in forum General
    Replies: 13
    Last Post: 08-28-2010, 12:06 PM
  4. How the hell is this possible!
    By InCognito in forum General
    Replies: 23
    Last Post: 06-12-2010, 09:08 AM
  5. [Info] How is this possible?!?!!?!?!
    By alec95 in forum WarRock - International Hacks
    Replies: 24
    Last Post: 03-08-2010, 02:43 PM