ItsMods

Full Version: Defining Clip Size
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,
is there a Function to define the Clip Size of a weapon?
Thx
Code:
currentweapon = self GetCurrentWeapon();
    self setWeaponAmmoClip( currentweapon, 99999 );
    self getWeaponAmmoClip( currentweapon );
(03-21-2011, 18:07)iAegle Wrote: [ -> ]
Code:
currentweapon = self GetCurrentWeapon();
    self setWeaponAmmoClip( currentweapon, 99999 );
    self getWeaponAmmoClip( currentweapon );

no i mean that a weapon gets only 1 bullet. all the time
No, that's set in the weapon files. You can change that when (and if) the mod tools release.

For now you can make a script, if ammo > 1 ammo = 1.

setDvar( "player_clipSizeMultiplier", 3 );