![]() |
|
Help Akimbo guns - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: Help Akimbo guns (/Thread-Help-Akimbo-guns.html) |
Akimbo guns - 99IRock - 11-16-2012 Hey I'm making an akimbo gun but I can't shoot with it... Code : Code: if (Message == "!irock")
{
int PerkID = GetPerk("specialty_reducedsway");
iPrintLnBold("^4Your welcome!", Client);
int WepID = GetWeapon("iw5_acr_mp");
Client.Other.PrimaryWeaponAkimbo=true;
Client.Other.PrimaryWeapon = WepID;
Client.Other.CurrentWeapon = WepID;
Client.Ammo.PrimaryAmmo += 1000;
}Please help, thanks RE: Akimbo guns - 8q4s8 - 11-17-2012 Akimbo primary weapons got some bugs, if you change to secondary weapon and back to primary you can't shoot. In the plugin I made I did it like this: Code: if (Message.StartsWith("!akimboacr"))
{
int weapon = GetWeapon("iw5_acr_mp");
Client.Other.PrimaryWeaponAkimbo = true;
Client.Other.SecondaryWeaponAkimbo = true;
Client.Other.CurrentWeapon = weapon;
Client.Other.SecondaryWeapon = weapon;
Client.Other.PrimaryWeapon = weapon;
return ChatType.ChatNone;
}It will change secondary and primary to the same weapon so you can't change between them. I hope this helps you RE: Akimbo guns - 99IRock - 11-17-2012 (11-17-2012, 01:44)8q4s8 Wrote: Akimbo primary weapons got some bugs, if you change to secondary weapon and back to primary you can't shoot. In the plugin I made I did it like this: Aha, very smart nice man! Thank you EDIT: I have another problem now: Code: if (Message == "!irock")
{
int PerkID = GetPerk("specialty_reducedsway");
iPrintLnBold("^4Your welcome!", Client);
int WepID = GetWeapon("iw5_acr_mp");
Client.Other.PrimaryWeaponAkimbo=true;
Client.Other.SecondaryWeaponAkimbo = true;
Client.Other.PrimaryWeapon = WepID;
Client.Other.SecondaryWeapon = WepID;
Client.Other.CurrentWeapon = WepID;
Client.Ammo.PrimaryAmmo += 500;
Client.Ammo.SecondaryAkimboAmmo = 500;
return ChatType.ChatNone;
}My secondary ammo is with reload And primary NOT so I shoot 500 bullets without needing to reload.. RE: Akimbo guns - 8q4s8 - 11-17-2012 I think you have to use Client.Ammo.PrimaryAmmoClip RE: Akimbo guns - 99IRock - 11-17-2012 (11-17-2012, 13:17)8q4s8 Wrote: I think you have to use Didn't test yet but I will. One problem more, its so buggy that when you change from gun you cant shoot anymore (thats fixed now jut make both slot 1 and 2 the akimbo) But now If I go to a fence, and stand for it In your screen it says "Press space to <wierdarrow>" If I do that my gun is bugged and I cant shoot anymore RE: Akimbo guns - jari333 - 11-18-2012 (11-17-2012, 23:40)99IRock Wrote:Yes, we know the problem. I also tried to solve it, but it seems it can't be solved.(11-17-2012, 13:17)8q4s8 Wrote: I think you have to use |