GTAG - Modding - Opcode Database - 0491
Opcode Database
0491
| Description | Returns true if the character has the specified weapon. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) Weapon ID (Integer) (INT) |
| Games | |
| Category | Actor, Conditional, Weapon |
| Command Name (IV) | HAS_CHAR_GOT_WEAPON |
| San Andreas | |
| sascm.ini | 0491=2, has_char_got_weapon %1d% weapon %2d% |
| Example | 0491: has_char_got_weapon $PLAYER_ACTOR weapon 46 |
| Command Name | HAS_CHAR_GOT_WEAPON |

