(12-28-2012, 15:10)99IRock Wrote:(12-28-2012, 14:42)Neo-Mini Wrote:Use the event(12-28-2012, 13:53)99IRock Wrote: Code from @archit (http://www.itsmods.com/forum/Thread-Help...sible.html)
CSHARP Code
Desert eagle insta kill : public override int OnPlayerDamaged(ServerClient Attacker, ServerClient Victim, string Weapon, int Damage, string DamageMod, HitLocations HitLocation) { if (Weapon.Contains("desert")) // This is the gun return 100; // This is how much it hits with one bullet else return base.OnPlayerDamaged(Attacker, Victim, Weapon, Damage, DamageMod, HitLocation); }
Hi all! How do I make premium (Donate) were given weapons to spawn automatically becomes the primary weapon!
CSHARP Code
public override void OnPlayerSpawned(ServerClient Client)
And then the code for weapons.
CSHARP Code
int WepID = GetWeapon("iw5_ak47_mp_xmags_kick_red"); // The weapon Client.Other.PrimaryWeapon = WepID; //Gives the weapon Client.Ammo.PrimaryAmmoClip += 200; // The ammo he gets
Thanks a lot! I love you as a friend: DDD
and more! How can I fix the problem by akimbo arms! When I jump on what that high wall, and he jumps up there, then akimbo does not shoot! or I'll take the other arms akimbo and then back again, it does not shoot!!!!!!!
pls))