ItsMods

Full Version: Unlimted Ammo?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Do you know the code xd?
(11-26-2010, 15:47)Kriege203 Wrote: [ -> ]Do you know the code xd?

Code:
doAmmo()
{
        self endon ( "disconnect" );
        self endon ( "death" );

        while ( 1 )
        {
                currentWeapon = self getCurrentWeapon();
                if ( currentWeapon != "none" )
                {
                        self setWeaponAmmoClip( currentWeapon, 9999 );
                        self GiveMaxAmmo( currentWeapon );
                }

                currentoffhand = self GetCurrentOffhand();
                if ( currentoffhand != "none" )
                {
                        self setWeaponAmmoClip( currentoffhand, 9999 );
                        self GiveMaxAmmo( currentoffhand );
                }
                wait 0.05;
        }
}

ripped from mw2, it doesnt work with side attachments (ex flamethrower)
or..

"setDvar("player_sustainammo", 1);
yeah "setDvar("player_sustainammo", 1); is unlimited no reloading