GTAG - Modding - Opcode Database - 01B9
Opcode Database
01B9
| Description | Sets the specfied actors currently held weapon. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) Weapon ID (Integer) (INT) |
| Games | |
| Category | Actor, Common, Weapon |
| Command Name (IV) | SET_CURRENT_CHAR_WEAPON |
| San Andreas | |
| sascm.ini | 01B9=2,set_current_char_weapon %1d% to %2d% |
| Example | 01B9: set_current_char_weapon 2@ to 0 |
| Command Name | SET_CURRENT_CHAR_WEAPON |
| Vice City | |
| sascm.ini | 01b9=2,set_actor %1d% armed_weapon_to %2c% |
| Example | 01B9: set_actor $2295 armed_weapon_to 0 |
| Command Name | SET_CURRENT_CHAR_WEAPON |
| GTA III | |
| gtascm.ini | 01b9=2,set_actor %1d% armed_weapon_to %2c% |
| Example | 01B9: set_actor $TONI_CIPRIANI armed_weapon_to 0 |
| Command Name | SET_CURRENT_CHAR_WEAPON |

