Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 031E

Opcode Database

031E

DescriptionReturns true if the specified car is damaged by the specified weapon.
Parameters (v2)1) Vehicle handle (Integer) (INT)
2) Weapon ID (Integer) (INT)
Gamessa vc iii
CategoryCommon, Conditional, Vehicle
Command Name (IV)HAS_CAR_BEEN_DAMAGED_BY_WEAPON
San Andreas
sascm.ini031E=2, has_car_been_damaged_by_weapon %1d% weapon %2h%
Example031E: has_car_been_damaged_by_weapon 35@(328@,10i) weapon 38
Command NameHAS_CAR_BEEN_DAMAGED_BY_WEAPON
Vice City
sascm.ini031E=2, vehicle %1d% hit_by_weapon %2h%
Example031E: vehicle $2467 hit_by_weapon 39
Command NameHAS_CAR_BEEN_DAMAGED_BY_WEAPON
GTA III
gtascm.ini031E=2, vehicle %1d% hit_by_weapon %2h%
Example031E: vehicle $CAR hit_by_weapon 39
Command NameHAS_CAR_BEEN_DAMAGED_BY_WEAPON

<< 031D

031F >>