01B9

From GTAMods Wiki
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