01B1
Revision as of 18:38, 27 July 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|3}} {{Icon|VC}} '''GIVE_WEAPON_TO_PLAYER''' <hr /> '''Description''' : Gives a weapon to the player '''Syntax''' : 01B1: give_player [''player handle''] weapon [''int1'...")
Description
- Gives a weapon to the player
Syntax
- 01B1: give_player [player handle] weapon [int1] ammo [int2]
Parameter
- [player handle]
- [int1]
- [int2]
- Ammo
This opcode adds to your weapon ammo and sets the weapon as the current one for you. If you do not have the weapon, the weapon is given to you and replaces any weapon of the same group. Using this opcode requires loading the weapon model through 0247 or else the weapon might not be visible which can crash the game.
Keywords
give, assign, player, weapon