Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0490

Opcode Database

0490

DescriptionReturns true if the player has the specified weapon.
Parameters (v2)1) Player handle (Integer) (INT)
2) Weapon ID (Integer) (INT)
Gamesvc
CategoryCommon, Conditional, Player, Weapon
Vice City
sascm.ini0490=2, player %1d% has_weapon %2h%
Example0490: player $player_char has_weapon 18
Command NameHAS_PLAYER_GOT_WEAPON

<< 048F

0491 >>