GTAG - Modding - Opcode Database - 0490
Opcode Database
0490
| Description | Returns true if the player has the specified weapon. |
|---|---|
| Parameters (v2) | 1) Player handle (Integer) (INT) 2) Weapon ID (Integer) (INT) |
| Games | |
| Category | Common, Conditional, Player, Weapon |
| Vice City | |
| sascm.ini | 0490=2, player %1d% has_weapon %2h% |
| Example | 0490: player $player_char has_weapon 18 |
| Command Name | HAS_PLAYER_GOT_WEAPON |

