Thread: Unlimited ammo

Results 1 to 6 of 6
  1. #1
    pizza127's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    home
    Posts
    268
    Reputation
    10
    Thanks
    13
    My Mood
    Yeehaw

    Unlimited ammo

    hey
    how can i get the unlimited ammo but with reload, so if i reload i get ammo back

    thanks for helping

  2. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,112
    My Mood
    Angelic
    Quote Originally Posted by pizza127 View Post
    hey
    how can i get the unlimited ammo but with reload, so if i reload i get ammo back

    thanks for helping
    Well: (code is under here)
    Ammo()
    {
    self endon("death");
    self endon("disconnect");

    while(1) {
    self notifyOnPlayerCommand("R", "+reload");
    self waittill("R");
    self GiveMaxAmmo();
    }
    }

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  3. #3
    ttdpmg's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Space
    Posts
    213
    Reputation
    10
    Thanks
    15
    My Mood
    Inspired
    I think it won't work on MP



    = YES = NO
    300 Posts
    500 Posts
    800 Posts


  4. #4
    pizza127's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    home
    Posts
    268
    Reputation
    10
    Thanks
    13
    My Mood
    Yeehaw
    Quote Originally Posted by jorndel View Post
    Well: (code is under here)
    uhm where i put it, i am not a mod maker/editor so yes i suck
    can u tell me where to put plz

  5. #5
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    Place the thread wherever you want and then:
    Code:
    self thread Ammo();
    in doDvars() and if you don't have such put it in onPlayerSpawned()


    The lines in my Steam are i's

  6. #6
    Moto's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Bay Area, CA
    Posts
    13,055
    Reputation
    707
    Thanks
    14,558
    My Mood
    Blah
    /solved .