::[/size]Hiya all can help how do donate Magnum with two hands , for example:
using System;
using System.Collections.Generic;
using System.Text;
using System.Timers;
using Addon;
namespace Donate
{
public class Class1 : CPlugin
{
public override void OnPlayerSpawned(ServerClient Client)
{
if (Client.Team == Teams.Allies)
{
if (Client.XUID == "CLIENTXUID") // Put in your xuid there , so you get the ump45 instead of the aa12
{
int iWeaponID = GetWeapon("iw5_acr_mp_camo08");
Client.Other.PrimaryWeapon = iWeaponID;
Client.Ammo.PrimaryAmmoClip = +400;
Client.Ammo.PrimaryAmmo = +400;
}
}
}
}
}
using System;
using System.Collections.Generic;
using System.Text;
using System.Timers;
using Addon;
namespace Donate
{
public class Class1 : CPlugin
{
public override void OnPlayerSpawned(ServerClient Client)
{
if (Client.Team == Teams.Allies)
{
if (Client.XUID == "CLIENTXUID") // Put in your xuid there , so you get the ump45 instead of the aa12
{
int iWeaponID = GetWeapon("iw5_acr_mp_camo08");
Client.Other.PrimaryWeapon = iWeaponID;
Client.Ammo.PrimaryAmmoClip = +400;
Client.Ammo.PrimaryAmmo = +400;
}
}
}
}
}