Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 01B9

Opcode Database

01B9

DescriptionSets the specfied actors currently held weapon.
Parameters (v2)1) Actor handle (Integer) (INT)
2) Weapon ID (Integer) (INT)
Gamessa vc iii
CategoryActor, Common, Weapon
Command Name (IV)SET_CURRENT_CHAR_WEAPON
San Andreas
sascm.ini01B9=2,set_current_char_weapon %1d% to %2d%
Example01B9: set_current_char_weapon 2@ to 0
Command NameSET_CURRENT_CHAR_WEAPON
Vice City
sascm.ini01b9=2,set_actor %1d% armed_weapon_to %2c%
Example01B9: set_actor $2295 armed_weapon_to 0
Command NameSET_CURRENT_CHAR_WEAPON
GTA III
gtascm.ini01b9=2,set_actor %1d% armed_weapon_to %2c%
Example01B9: set_actor $TONI_CIPRIANI armed_weapon_to 0
Command NameSET_CURRENT_CHAR_WEAPON

<< 01B8

01BB >>