Addweaponvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
addweaponvar <var1> <var2>
addweaponvar <var1> <var2>


Command functions exactly like the [[addweapon]] command.  <var1> is the weapon's number, <var2> is the amount of ammo.
Adds a weapon to the nearest player.  Command functions exactly like the [[addweapon]] command, but takes [[gamevar]]s rather than predefined numbers.  <var1> is the weapon's number, <var2> is the amount of ammo.

Revision as of 13:46, 22 December 2004

addweaponvar <var1> <var2>

Adds a weapon to the nearest player. Command functions exactly like the addweapon command, but takes gamevars rather than predefined numbers. <var1> is the weapon's number, <var2> is the amount of ammo.