• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Well Problem Help
#1
Well Can i get max ammo in al weapons in my inventory instend of one this is the code i have now
Code:
self giveMaxAmmo(self getCurrentWeapon());
  Reply
#2
Code:
weapons = self GetWeaponsListPrimaries();
    for ( i = 0; i < weapons.size; i++ )
    {
        if ( self HasWeapon( weapons[i] ) )
        {
            self giveMaxAmmo( weapons[i] );

        }
    }
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#3
that will give me max ammo in all guns?
  Reply
#4
Ofc it doesn't it gives a giant dildo.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#5
What about GetWeaponsList() or just GetWeaponsListSecondaries() - Worked in MW2.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#6
GetWeaponsListPrimaries is what worked for me in MW2.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#7
That Code diddent work i got only max in the weapon i holded.Confused

And Btw do someone know the code for the menu to open on 4
Code right now
Code:
button1()
{
self endon("death");
self endon("disconnect");
for(;;)
{
if(self UseButtonPressed() )
{
self iprintln("Menu->Opens");
self openMenu("mod_menu");
}

wait .2;
}

}
Open it on 4 Code plz :3
  Reply
#8
Try getweaponslist()
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#9
diddent work ether :/
  Reply
#10
http://www.itsmods.com/forum/Forum-Scrip...--114.html

There used to be a snippet there, but then everything got archived and Nova doesn't give a shit. Nice.
[Image: MaEIQ.png]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  menu problem with making Startune 1 2,355 08-01-2016, 23:22
Last Post: Scuba Steve

Forum Jump:


Users browsing this thread: 1 Guest(s)