Addweapon: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


Adds a weapon to the nearest player.  <weapon> is the weapon's number, <amount> is the amount of ammo.  See [[addweaponvar]].
Adds a weapon to the nearest player.  <weapon> is the weapon's number, <amount> is the amount of ammo.  See [[addweaponvar]].
If the player has the maximun amount of ammo, this command has and effect similar of [[break]] cenceling subsequent code.


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Player manipulation]]
[[Category:Player manipulation]]

Revision as of 14:20, 15 February 2009

addweapon <weapon> <amount>

Adds a weapon to the nearest player. <weapon> is the weapon's number, <amount> is the amount of ammo. See addweaponvar.

If the player has the maximun amount of ammo, this command has and effect similar of break cenceling subsequent code.