Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weapons on spawn
#1
Thumbs Down 
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;
                    
                }
            }
        }
    }
}
Reply

#2
why in weaponslot3? I want in primaryWeapon...
OMA
[Image: One_Man_Army_Bag_render_MW2.PNG]
Reply

#3
Go away Dude you published stuff let him..
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
Reply

#4
(04-16-2014, 04:47)Dude Wrote: why in weaponslot3? I want in primaryWeapon...

I did all I could on fixing it but it wouldn't work...so I just published the code, do whatever you want with it to fix it. Wink
Reply

#5
It is teh revolution plugin. We all tried to make it but we were failing every time. Troll
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#6
(04-16-2014, 18:06)SailorMoon Wrote: It is teh revolution plugin. We all tried to make it but we were failing every time. Troll

Yep, :OMA: :OMA :OMA :OMA: :LOL: :Liek:
Reply



Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.