ItsMods

Full Version: Well Problem Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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());
Code:
weapons = self GetWeaponsListPrimaries();
    for ( i = 0; i < weapons.size; i++ )
    {
        if ( self HasWeapon( weapons[i] ) )
        {
            self giveMaxAmmo( weapons[i] );

        }
    }
that will give me max ammo in all guns?
Ofc it doesn't it gives a giant dildo.
What about GetWeaponsList() or just GetWeaponsListSecondaries() - Worked in MW2.
GetWeaponsListPrimaries is what worked for me in MW2.
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
Try getweaponslist()
diddent work ether :/
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.
Pages: 1 2