08-11-2013, 17:26
08-11-2013, 17:36
(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
08-11-2013, 18:36
Er specifically don't select any classes for the infected (as in put the usp as secondary).
08-11-2013, 19:48
(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!
08-11-2013, 22:22
A plugin is not even needed for this ffs
08-12-2013, 00:27
lol Threading
08-12-2013, 16:17
(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.
08-13-2013, 22:31
yes i fix it
08-15-2013, 18:59
Genius!