01B9

From GTAMods Wiki
Revision as of 05:05, 31 July 2015 by Spaceeinstein (talk | contribs) (page updates)
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 number

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