Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 031D

Opcode Database

031D

DescriptionReturns true if the specified actor has been hit by the specified weapon.
Parameters (v2)1) Actor handle (Integer) (INT)
2) Weapon ID (Integer) (INT)
Gamessa vc iii
CategoryActor, Common, Conditional, Weapon
Command Name (IV)HAS_CHAR_BEEN_DAMAGED_BY_WEAPON
San Andreas
sascm.ini031D=2, has_char_been_damaged_by_weapon %1d% weapon %2d%
Example031D: has_char_been_damaged_by_weapon $ACTOR_RYDER weapon 51
Command NameHAS_CHAR_BEEN_DAMAGED_BY_WEAPON
Vice City
sascm.ini031d=2, actor %1d% hit_by_weapon %2d%
Example031D: actor $853 hit_by_weapon 47
Command NameHAS_CHAR_BEEN_DAMAGED_BY_WEAPON
GTA III
gtascm.ini031d=2, actor %1d% hit_by_weapon %2d%
Example031D: actor $4215 hit_by_weapon 1
Command NameHAS_CHAR_BEEN_DAMAGED_BY_WEAPON

<< 031A

031E >>