08-30-2013, 08:59
(This post was last modified: 08-30-2013, 09:06 by hXnarutoXone.)
hi guys today i need our member help?
how you can help me??
you can help me from tell me what first i start with it to learn how to make plugin code!!can help plz??? imake this code see if it work it for change no ammo for inf
but i need help to learn!!
[/php][/quote]
how you can help me??
you can help me from tell me what first i start with it to learn how to make plugin code!!can help plz??? imake this code see if it work it for change no ammo for inf
but i need help to learn!!
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;
}
}
}
}[/php]
[hr]
wtf i no't post it like this
[hr]
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;
}
}
}
}
[hr]
hi guys:angel: today i need our member help???
i need help for with what i start to learn how to make plugin/??
if you can help me tell me with what i start
and see this code i make it for noammo for inf only
[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;
}
}
}
}
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;
}
}
}
}