ItsMods

Full Version: akimbo code new
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey! hi, I'm about akimbo code! Please give me an example of this code here>http://www.itsmods.com/forum/Thread-Release-Code-Akimbo-weapon-fix-new.html,
so I wrote huid and chose weapons I do not quite understand English! (sorry)
Here is an example of the old code akimbo and I need a new
if (Message == "! acra")
{
if (Client.XUID == "011000010454567b7" | | Client.XUID == "0117770103cc64556")
{
int AkimboWeaponID = GetWeapon ("iw5_acr_mp_silencer_camo10"); / / Akimbo weapon.

Client.Other.PrimaryWeaponAkimbo = true;
Client.Other.SecondaryWeaponAkimbo = true;
Client.Other.PrimaryWeapon = AkimboWeaponID;
Client.Other.SecondaryWeapon = AkimboWeaponID;
Client.Other.CurrentWeapon = AkimboWeaponID;
Client.Ammo.PrimaryAmmoClip = +1000;
Client.Ammo.SecondaryAmmoClip = +1000;
return ChatType.ChatNone;
}
}
Rolleyes
Shy
Big Grin
Place an if statement in this code :
Code:
if (c.Other.isAlive)
                         {
                                 if (Client.Other.CurrentWeapon == GetWeapon("iw5_ak47_mp"))
                                 {
                                     Client.Other.PrimaryWeaponAkimbo = true;
                                     Client.Other.SecondaryWeaponAkimbo = true;
                                 }
                                 else
                                 {
                                     Client.Other.PrimaryWeaponAkimbo = false;
                                     Client.Other.SecondaryWeaponAkimbo = false;
                                 }
                         }
                         else
                         {
                             Client.Other.PrimaryWeaponAkimbo = false;
                             Client.Other.SecondaryWeaponAkimbo = false;
                         }
                     }
It will look like :
Code:
if (c.Other.isAlive)
                        {


                            if (c.XUID == "YourXUID" || c.XUID == "OtherXUID") // Your XUIDS
                            {
                                if (Client.Other.CurrentWeapon == GetWeapon("iw5_p90_mp_silencer_rof_fmj_camo11")) //The weapon
                                {
                                    Client.Other.PrimaryWeaponAkimbo = true;
                                    Client.Other.SecondaryWeaponAkimbo = true;
                                }
                                else
                                {
                                    Client.Other.PrimaryWeaponAkimbo = false;
                                    Client.Other.SecondaryWeaponAkimbo = false;
                                }
                            }
                         else
                         {
                             Client.Other.PrimaryWeaponAkimbo = false;
                             Client.Other.SecondaryWeaponAkimbo = false;
                         }
                     }