Okay, finally my first release.
I wanted to release this from the day I started here so here it is . (I already could make it but I was busy with other projects)
It's just an easy plugin, won't really help a lot of people, but it's made on request by @choobie.
I'm not sure if every gun works.
Some guns won't appear as an akimbo gun, but overlay each other, but you still have 2 ammo bars.
If you find any bug/gun what doesn't works, please tell me and I will try to fix(If possible)/remove it.
Use the sourcecode if you like the modify anything, like attachments on the guns.
Enjoy and if this was usefull, you know what to do
I wanted to release this from the day I started here so here it is . (I already could make it but I was busy with other projects)
It's just an easy plugin, won't really help a lot of people, but it's made on request by @choobie.
I'm not sure if every gun works.
Some guns won't appear as an akimbo gun, but overlay each other, but you still have 2 ammo bars.
commands (Click to View)
COMMANDS:
Usefull: (Thanks to @SirGravzy for the idea)
!helpa
!smga
!lmga
!assaulta
!snipersa
!shotgunsa
!expla
ALL COMMANDS:
SMG
!mp5a
!mp7a
!pm9a
!p90a
!pp90m1a
!ump45a
LMG
!m60a
!mk46a
!pecha
!lswa
!mg36a
Assault
!m4a
!ak47a
!m16a
!fada
!acra
!mk14a
!scara
!g36ca
!cm901a
Snipers
!barreta
!rsassa
!dragunova
!msra
!l96a1a
!as50a
Shotguns
!modela (I think this one will crash, not sure)
!strikera
!aa12a
!usas12a
!spas12a (I think this one won't shoot, not sure)
Explosives
!xm25a
!rpga
Usefull: (Thanks to @SirGravzy for the idea)
!helpa
!smga
!lmga
!assaulta
!snipersa
!shotgunsa
!expla
ALL COMMANDS:
SMG
!mp5a
!mp7a
!pm9a
!p90a
!pp90m1a
!ump45a
LMG
!m60a
!mk46a
!pecha
!lswa
!mg36a
Assault
!m4a
!ak47a
!m16a
!fada
!acra
!mk14a
!scara
!g36ca
!cm901a
Snipers
!barreta
!rsassa
!dragunova
!msra
!l96a1a
!as50a
Shotguns
!modela (I think this one will crash, not sure)
!strikera
!aa12a
!usas12a
!spas12a (I think this one won't shoot, not sure)
Explosives
!xm25a
!rpga
SourceCode (Click to View)
SOURCECODE: (Long and one part useless, used /* and */ to "deactivate" it)
CSHARP Code
- using System;
- using System.Collections.Generic;
- using System.Text;
- using Addon;
-
- namespace AkimboPlugin
- {
- public class Class1 : CPlugin
- {
- /* USELESS PART OF THE CODE.
- // I still backup it so if it's needed I can replace it again but I think not.
- public override void OnPlayerChangeWeapon(ServerClient Client, int WeaponID)
- {
- // -----------------------------------------------------------------
- // All Weapons declared
- // -----------------------------------------------------------------
- //SMG
- int mp5 = GetWeapon("iw5_mp5_mp"); //!mp5a
- int mp7 = GetWeapon("iw5_mp7_mp"); //!mp7a
- int m9 = GetWeapon("iw5_m9_mp"); //!pm9a
- int p90 = GetWeapon("iw5_p90_mp"); //!p90a
- int pp90m1 = GetWeapon("iw5_pp90m1_mp"); //!pp90m1a
- int ump45 = GetWeapon("iw5_ump45_mp"); //!ump45a
- //LMG
- int m60 = GetWeapon("iw5_m60_mp");
- int mk46 = GetWeapon("iw5_mk46_mp");
- int pech = GetWeapon("iw5_pecheneg_mp");
- int sa80 = GetWeapon("iw5_sa80_mp");
- int mg36 = GetWeapon("iw5_mg36_mp");
- //Assault
- int m4 = GetWeapon("iw5_m4_mp");
- int ak47 = GetWeapon("iw5_ak47_mp");
- int m16 = GetWeapon("iw5_m16_mp");
- int fad = GetWeapon("iw5_fad_mp");
- int acr = GetWeapon("iw5_acr_mp");
- int mk14 = GetWeapon("iw5_mk14_mp");
- int scar = GetWeapon("iw5_scar_mp");
- int g36c = GetWeapon("iw5_g36c_mp");
- int cm901 = GetWeapon("iw5_cm901_mp");
- //Snipers
- int barret = GetWeapon("iw5_barrett_mp");
- int rsass = GetWeapon("iw5_rsass_mp");
- int dragunov = GetWeapon("iw5_dragunov_mp");
- int msr = GetWeapon("iw5_msr_mp");
- int l96a1 = GetWeapon("iw5_l96a1_mp");
- int as50 = GetWeapon("iw5_as50_mp");
- //Shotguns
- int model = GetWeapon("iw5_1887_mp"); //1887 shotgun
- int striker = GetWeapon("iw5_striker_mp");
- int aa12 = GetWeapon("iw5_aa12_mp");
- int usas12 = GetWeapon("iw5_usas12_mp");
- int spas12 = GetWeapon("iw5_spas12_mp");
- //Explosives
- int xm25 = GetWeapon("xm25_mp");
- int rpg = GetWeapon("rpg_mp");
-
-
- // -----------------------------------------------------------------
- // Checking for equal NOT GOOD < THIS IS FOR EVERYONE IF THEY SWITCH
- // -----------------------------------------------------------------
-
- if (WeaponID == mp5 || WeaponID == mp7 || WeaponID == m9 || WeaponID == p90 || WeaponID == pp90m1 || WeaponID == ump45 || WeaponID == m60 || WeaponID == mk46 || WeaponID == pech || WeaponID == sa80 || WeaponID == mg36 || WeaponID == m4 || WeaponID == ak47 || WeaponID == m16 || WeaponID == fad || WeaponID == acr || WeaponID == mk14 || WeaponID == scar || WeaponID == g36c || WeaponID == cm901 || WeaponID == barret || WeaponID == rsass || WeaponID == dragunov || WeaponID == msr || WeaponID == l96a1 || WeaponID == as50 || WeaponID == model || WeaponID == striker || WeaponID == aa12 || WeaponID == usas12 || WeaponID == spas12 || WeaponID == xm25 || WeaponID == rpg)
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- }
- else if (WeaponID != mp5 || WeaponID != mp7 || WeaponID != m9 || WeaponID != p90 || WeaponID != pp90m1 || WeaponID != ump45 || WeaponID != m60 || WeaponID != mk46 || WeaponID != pech || WeaponID != sa80 || WeaponID != mg36 || WeaponID != m4 || WeaponID != ak47 || WeaponID != m16 || WeaponID != fad || WeaponID != acr || WeaponID != mk14 || WeaponID != scar || WeaponID != g36c || WeaponID != cm901 || WeaponID != barret || WeaponID != rsass || WeaponID != dragunov || WeaponID != msr || WeaponID != l96a1 || WeaponID != as50 || WeaponID != model || WeaponID != striker || WeaponID != aa12 || WeaponID != usas12 || WeaponID != spas12 || WeaponID != xm25 || WeaponID != rpg)
- {
- Client.Other.PrimaryWeaponAkimbo = false;
- }
-
- }
- */
-
- // AKIMBO COMMANDS
- public override ChatType OnSay(String Message, ServerClient Client, bool Teamchat)
- {
- // -----------------------------------------------------------------
- // Help commands
- // -----------------------------------------------------------------
- if (Message == "!helpa")
- {
- iPrintLnBold("[^1AkimboPlugin^7]: !smga | !lmga | !assaulta | !snipersa | !shotgunsa | !expla", Client);
- }
-
- if (Message == "!smga")
- {
- iPrintLnBold("[^1AkimboPlugin^7]: !mp5a | !mp7a | !pm9a | !p90a | !pp90m1a | !ump45a", Client);
- }
-
- if (Message == "!lmga")
- {
- iPrintLnBold("[^1AkimboPlugin^7]: !m60a | !mk46a | !pecha | !lswa | !mg36a", Client);
- }
-
- if (Message == "!assaulta")
- {
- iPrintLnBold("[^1AkimboPlugin^7]: !m4a | !ak47a | !m16a | !fada | !acra | !mk14a | !scara | !g36ca | !cm901a", Client);
- }
-
- if (Message == "snipersa")
- {
- iPrintLnBold("[^1AkimboPlugin^7]: !barreta | !rsassa | !dragunova | !msra | !l96a1a | !as50a", Client);
- }
-
- if (Message == "!shotgunsa")
- {
- iPrintLnBold("[^1AkimboPlugin^7]: !modela | !strikera | !aa12a | !usas12a | !spas12a", Client);
- }
-
- if (Message == "!expla")
- {
- iPrintLnBold("[^1AkimboPlugin^7]: !xm25a | !rpga", Client);
- }
-
-
- // -----------------------------------------------------------------
- // All Weapons declared
- // -----------------------------------------------------------------
- //SMG
- int mp5 = GetWeapon("iw5_mp5_mp");
- int mp7 = GetWeapon("iw5_mp7_mp");
- int m9 = GetWeapon("iw5_m9_mp");
- int p90 = GetWeapon("iw5_p90_mp");
- int pp90m1 = GetWeapon("iw5_pp90m1_mp");
- int ump45 = GetWeapon("iw5_ump45_mp");
- if (Message == "!mp5a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = mp5;
- Client.Other.SecondaryWeapon = mp5;
- Client.Other.CurrentWeapon = mp5;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!mp7a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = mp7;
- Client.Other.SecondaryWeapon = mp7;
- Client.Other.CurrentWeapon = mp7;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!pm9a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = m9;
- Client.Other.SecondaryWeapon = m9;
- Client.Other.CurrentWeapon = m9;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!p90a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = p90;
- Client.Other.SecondaryWeapon = p90;
- Client.Other.CurrentWeapon = p90;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!pp90m1a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = pp90m1;
- Client.Other.SecondaryWeapon = pp90m1;
- Client.Other.CurrentWeapon = pp90m1;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!ump45a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = ump45;
- Client.Other.SecondaryWeapon = ump45;
- Client.Other.CurrentWeapon = ump45;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- //LMG
- int m60 = GetWeapon("iw5_m60_mp");
- int mk46 = GetWeapon("iw5_mk46_mp");
- int pech = GetWeapon("iw5_pecheneg_mp");
- int sa80 = GetWeapon("iw5_sa80_mp");
- int mg36 = GetWeapon("iw5_mg36_mp");
-
- if (Message == "!m60a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = m60;
- Client.Other.SecondaryWeapon = m60;
- Client.Other.CurrentWeapon = m60;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!mk46a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = mk46;
- Client.Other.SecondaryWeapon = mk46;
- Client.Other.CurrentWeapon = mk46;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!pecha")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = pech;
- Client.Other.SecondaryWeapon = pech;
- Client.Other.CurrentWeapon = pech;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!lswa")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = sa80;
- Client.Other.SecondaryWeapon = sa80;
- Client.Other.CurrentWeapon = sa80;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!mg36a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = mg36;
- Client.Other.SecondaryWeapon = mg36;
- Client.Other.CurrentWeapon = mg36;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- //Assault
- int m4 = GetWeapon("iw5_m4_mp");
- int ak47 = GetWeapon("iw5_ak47_mp");
- int m16 = GetWeapon("iw5_m16_mp");
- int fad = GetWeapon("iw5_fad_mp");
- int acr = GetWeapon("iw5_acr_mp");
- int mk14 = GetWeapon("iw5_mk14_mp");
- int scar = GetWeapon("iw5_scar_mp");
- int g36c = GetWeapon("iw5_g36c_mp");
- int cm901 = GetWeapon("iw5_cm901_mp");
-
- if (Message == "!m4a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = m4;
- Client.Other.SecondaryWeapon = m4;
- Client.Other.CurrentWeapon = m4;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!ak47a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = ak47;
- Client.Other.SecondaryWeapon = ak47;
- Client.Other.CurrentWeapon = ak47;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!m16a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = m16;
- Client.Other.SecondaryWeapon = m16;
- Client.Other.CurrentWeapon = m16;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!fada")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = fad;
- Client.Other.SecondaryWeapon = fad;
- Client.Other.CurrentWeapon = fad;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!acra")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = acr;
- Client.Other.SecondaryWeapon = acr;
- Client.Other.CurrentWeapon = acr;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!mk14a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = mk14;
- Client.Other.SecondaryWeapon = mk14;
- Client.Other.CurrentWeapon = mk14;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!scara")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = scar;
- Client.Other.SecondaryWeapon = scar;
- Client.Other.CurrentWeapon = scar;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!g36ca")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = g36c;
- Client.Other.SecondaryWeapon = g36c;
- Client.Other.CurrentWeapon = g36c;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!cm901a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = cm901;
- Client.Other.SecondaryWeapon = cm901;
- Client.Other.CurrentWeapon = cm901;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
-
- //Snipers
- int barret = GetWeapon("iw5_barrett_mp");
- int rsass = GetWeapon("iw5_rsass_mp");
- int dragunov = GetWeapon("iw5_dragunov_mp");
- int msr = GetWeapon("iw5_msr_mp");
- int l96a1 = GetWeapon("iw5_l96a1_mp");
- int as50 = GetWeapon("iw5_as50_mp");
-
- if (Message == "!barreta")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = barret;
- Client.Other.SecondaryWeapon = barret;
- Client.Other.CurrentWeapon = barret;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!rsassa")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = rsass;
- Client.Other.SecondaryWeapon = rsass;
- Client.Other.CurrentWeapon = rsass;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!dragunova")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = dragunov;
- Client.Other.SecondaryWeapon = dragunov;
- Client.Other.CurrentWeapon = dragunov;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!msra")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = msr;
- Client.Other.SecondaryWeapon = msr;
- Client.Other.CurrentWeapon = msr;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!l96a1a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = l96a1;
- Client.Other.SecondaryWeapon = l96a1;
- Client.Other.CurrentWeapon = l96a1;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!as50a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = as50;
- Client.Other.SecondaryWeapon = as50;
- Client.Other.CurrentWeapon = as50;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
-
- //Shotguns
- int model = GetWeapon("iw5_1887_mp"); //1887 shotgun
- int striker = GetWeapon("iw5_striker_mp");
- int aa12 = GetWeapon("iw5_aa12_mp");
- int usas12 = GetWeapon("iw5_usas12_mp");
- int spas12 = GetWeapon("iw5_spas12_mp");
-
- if (Message == "!modela")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = model;
- Client.Other.SecondaryWeapon = model;
- Client.Other.CurrentWeapon = model;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!strikera")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = striker;
- Client.Other.SecondaryWeapon = striker;
- Client.Other.CurrentWeapon = striker;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!aa12a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = aa12;
- Client.Other.SecondaryWeapon = aa12;
- Client.Other.CurrentWeapon = aa12;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!usas12a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = usas12;
- Client.Other.SecondaryWeapon = usas12;
- Client.Other.CurrentWeapon = usas12;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!spas12a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = spas12;
- Client.Other.SecondaryWeapon = spas12;
- Client.Other.CurrentWeapon = spas12;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
-
- //Explosives
- int xm25 = GetWeapon("xm25_mp");
- int rpg = GetWeapon("rpg_mp");
-
- if (Message == "!xm25a")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = xm25;
- Client.Other.SecondaryWeapon = xm25;
- Client.Other.CurrentWeapon = xm25;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
- if (Message == "!rpga")
- {
- Client.Other.PrimaryWeaponAkimbo = true;
- Client.Other.SecondaryWeaponAkimbo = true;
- Client.Other.PrimaryWeapon = rpg;
- Client.Other.SecondaryWeapon = rpg;
- Client.Other.CurrentWeapon = rpg;
- Client.Ammo.PrimaryAmmoClip = 1034;
- Client.Ammo.SecondaryAmmoClip = 1034;
- return ChatType.ChatNone;
- }
-
-
- return ChatType.ChatContinue;
- }
- }
- }
Use the sourcecode if you like the modify anything, like attachments on the guns.
Enjoy and if this was usefull, you know what to do