GTAG - Modding - Opcode Database - 031E
Opcode Database
031E
| Description | Returns true if the specified car is damaged by the specified weapon. |
|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) 2) Weapon ID (Integer) (INT) |
| Games | |
| Category | Common, Conditional, Vehicle |
| Command Name (IV) | HAS_CAR_BEEN_DAMAGED_BY_WEAPON |
| San Andreas | |
| sascm.ini | 031E=2, has_car_been_damaged_by_weapon %1d% weapon %2h% |
| Example | 031E: has_car_been_damaged_by_weapon 35@(328@,10i) weapon 38 |
| Command Name | HAS_CAR_BEEN_DAMAGED_BY_WEAPON |
| Vice City | |
| sascm.ini | 031E=2, vehicle %1d% hit_by_weapon %2h% |
| Example | 031E: vehicle $2467 hit_by_weapon 39 |
| Command Name | HAS_CAR_BEEN_DAMAGED_BY_WEAPON |
| GTA III | |
| gtascm.ini | 031E=2, vehicle %1d% hit_by_weapon %2h% |
| Example | 031E: vehicle $CAR hit_by_weapon 39 |
| Command Name | HAS_CAR_BEEN_DAMAGED_BY_WEAPON |

