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.
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