ItsMods

Full Version: My guns
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok so I "made" some guns, but the cammo doesn't works.
So it's not really much whats wrong I think, but I just need to know the good way to make the guns.


And the !qs command to get quickdraw doesn't works.


Thanks in advance

(Btw this is not the full code its just the parts of the guns and a perk)


Code:
if (Message == "!mmp5")
                {
                    int WepID = GetWeapon("iw5_mp5_mp_xmags_silencer_winter");
                    Client.Other.PrimaryWeapon = WepID;
                    Client.Ammo.PrimaryAmmoClip += 400;
                    return ChatType.ChatNone;

                }

                if (Message == "!myguns")
                {
                    iPrintLnBold("^5Guns : !gg36 !mmp5 !aak47 !pp90 !pp90m1 !mmsr !qs !uav", Client);
                    return ChatType.ChatNone;

                }

                if (Message == "!gg36")
                {
                    int WepID = GetWeapon("iw5_g36c_mp_xmags_silencer_blue");
                    Client.Other.PrimaryWeapon = WepID;
                    Client.Ammo.PrimaryAmmoClip += 400;
                    return ChatType.ChatNone;

                }

                if (Message == "!aak47")
                {
                    int WepID = GetWeapon("iw5_ak47_mp_xmags_kick_red");
                    Client.Other.PrimaryWeapon = WepID;
                    Client.Ammo.PrimaryAmmoClip += 400;
                    return ChatType.ChatNone;

                }

                if (Message == "!pp90")
                {
                    int WepID = GetWeapon("iw5_p90_mp_xmags_silencer_red");
                    Client.Other.PrimaryWeapon = WepID;
                    Client.Ammo.PrimaryAmmoClip += 400;
                    return ChatType.ChatNone;

                }
                

                if (Message == "!pp90m1")
                {
                    int WepID = GetWeapon("iw5_pp90m1_mp_xmags_silencer_blue");
                    Client.Other.PrimaryWeapon = WepID;
                    Client.Ammo.PrimaryAmmoClip += 400;
                    return ChatType.ChatNone;

                }

                if (Message == "!mmsr")
                {
                    int WepID = GetWeapon("iw5_msr_mp_xmags_heartbeat_d_urban");
                    Client.Other.PrimaryWeapon = WepID;
                    Client.Ammo.PrimaryAmmoClip += 250;
                    return ChatType.ChatNone;

                }


                   if (Message == "!qs")
                {
                    int Perk = GetPerk("specialty_quickdraw");
                    return ChatType.ChatNone;
                }
Red Tiger iw5_ak47_09 etc etc.... i think that should work (Basicly numbers)
Uhu, explain ?, I don;t get what u mean :p
Please use the WeaponBuilder class (it's included in the addon and provides easy weapon customization)
(11-30-2012, 14:27)JariZ Wrote: [ -> ]Please use the WeaponBuilder class (it's included in the addon and provides easy weapon customization)

How and where do I open it ?