GiveWeapon( <weapon name>, <model variant> )


Module: Player

Summary:

Give the player a weapon



Call this on:

The player



Example:

 level.player GiveWeapon( "m1garand", 0 );



Required Args:

  • 1 : <weapon name> The weapon name to give to the player


Optional Args

  • 1 : <model variant> Index of the model variant (0-15). defaults to 0.