• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] no ammo for infected gamemode
#1
i need an plugin to remove the ammo of the usp for the infected people pls help me
  Reply
#2
(08-11-2013, 17:26)ExoGamer* Wrote: i need an plugin to remove the ammo of the usp for the infected people pls help me

you doesnt need any plugin ^^ you can only change this in the class editor in mw3 ;D go into online then to priavate match then you configurate all you want then you have to save on pc and it work .. choose as modi infected and all is good Big Grin
  Reply
#3
Er specifically don't select any classes for the infected (as in put the usp as secondary).
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#4
(08-11-2013, 17:26)ExoGamer* Wrote: i need an plugin to remove the ammo of the usp for the infected people pls help me

this should work...

Code:
using System;
using Addon;
using System.Threading;
namespace NoAmmo
{
    public class NoAmmo : CPlugin
    {
        public override void OnPlayerSpawned(ServerClient Client)
        {
            if (Client.Team == Teams.Axis)
            {
                Client.Ammo.SecondaryAmmo = 0;
                Client.Ammo.SecondaryAmmoClip = 0;
                Client.Ammo.PrimaryAmmo = 0;
                Client.Ammo.PrimaryAmmoClip = 0;
                Client.Ammo.OffhandAmmo = 0;
            }
        }
    }
}

its only for team Axis = infected team!
  Reply
#5
A plugin is not even needed for this ffs
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#6
lol Threading
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

  Reply
#7
(08-12-2013, 00:27)hillbilly Wrote: lol Threading

Adding the System.Threading namespace doesn't mean that the plugin contains threading.

Just don't add any weapon to the infected class and it will give you a usp45 without ammo.
  Reply
#8
yes i fix it Big Grin
  Reply
#9
Genius!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up [Release] AllInOne! for infected robinvm 4 4,426 10-19-2013, 20:00
Last Post: Casper
  Infected Stuff is semi broken DidUknowiPwn 2 3,222 09-21-2013, 20:22
Last Post: surtek
  [Release] AntiRage for Infected Game Mode yokai134 17 13,194 08-04-2013, 22:22
Last Post: yokai134
  M320 and GP25 ammo McKinleySPB 3 2,830 07-06-2013, 12:56
Last Post: archit
Wink [Release] Shop system for Infected gametype Nekochan 125 69,449 07-05-2013, 18:09
Last Post: mohammadnanaa
Smile [Release] Unlimited ammo v2.3 & @Nukems unlammo hillbilly 40 21,829 06-26-2013, 11:33
Last Post: X-Track
Question can't find it (ammo box) DJSKilly 8 4,670 05-29-2013, 11:27
Last Post: Dr3am95
  mw3 infected game restarts SniperViper 1 2,045 05-18-2013, 11:37
Last Post: hillbilly
  Help No infected when infected leaves SniperViper 3 3,041 05-17-2013, 23:55
Last Post: DidUknowiPwn
  Infected Choose Plugin ? Hallla 3 3,161 05-12-2013, 13:55
Last Post: Hallla

Forum Jump:


Users browsing this thread: 1 Guest(s)