Code:
using System;
using System.Collections.Generic;
using System.Text;
using Addon;
namespace Premium
{
public class Class1 : CPlugin
{
public override void OnPlayerSpawned(ServerClient Client)
{
if (Client.Team == Teams.Allies)
{
if (Client.XUID == "your xuid")
{
iPrintLnBold("^5Premium weapons activated", Client);
int weapon = GetWeapon("iw5_acr_mp_silencer_xmags_camo11");
Client.Other.WeaponSlot3 = weapon;
Client.Other.CurrentWeapon = Client.Other.WeaponSlot3;
Client.Other.PrimaryWeapon = Client.Other.WeaponSlot3;
Client.Ammo.PrimaryAmmoClip = 876;
Client.Ammo.PrimaryAmmo = 45;
}
}
}
}
}