01B9

From GTAMods Wiki
Revision as of 19:32, 7 July 2017 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas SET_CURRENT_CHAR_WEAPON


Description
Sets the current weapon of the character
Syntax
01B9: set_actor [char handle] armed_weapon_to [int]
Parameter
[char handle]
The handle of the character
[int]
Weapon type

This opcode sets the current weapon of the character. It has no effect if the character does not have the weapon.

Keywords

set, current, character, actor, weapon, arm, armed